Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Felipe Zapata
Pod backend
Commits
70167722
Unverified
Commit
70167722
authored
4 years ago
by
Vasili Novikov
Browse files
Options
Download
Email Patches
Plain Diff
Fix clippy warning
parent
bf0dbbf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/warp_api.rs
+1
-1
src/warp_api.rs
with
1 addition
and
1 deletion
+1
-1
src/warp_api.rs
+
1
-
1
View file @
70167722
...
...
@@ -226,7 +226,7 @@ pub async fn run_server(cli_options: &CLIOptions) {
.and
(
warp
::
body
::
json
())
.map
(
move
|
owner
:
String
,
body
:
PayloadWrapper
<
GetFile
>
|
{
let
result
=
warp_endpoints
::
get_file
(
owner
,
init_db
.deref
(),
body
);
respond_with_result
(
result
.map
(|
result
|
result
)
)
respond_with_result
(
result
)
});
let
insecure_http_headers
=
Arc
::
new
(
cli_options
.insecure_http_headers
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment