Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
POD
Commits
1d7f7dbb
Commit
1d7f7dbb
authored
4 years ago
by
James Lowry
Browse files
Options
Download
Email Patches
Plain Diff
Fix uninferred String that causes compilation error
parent
8b472c28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugin_run.rs
+2
-2
src/plugin_run.rs
with
2 additions
and
2 deletions
+2
-2
src/plugin_run.rs
+
2
-
2
View file @
1d7f7dbb
...
...
@@ -43,8 +43,8 @@ pub fn run_plugin_container(
let
auth
=
serde_json
::
to_string
(
&
auth
)
?
;
let
container_id
=
format!
(
"{}-{}-{}"
,
pod_owner
.chars
()
.take
(
10
)
.collect
(),
container_image
.chars
()
.take
(
15
)
.collect
(),
pod_owner
.chars
()
.take
(
10
)
.collect
::
<
String
>
(),
container_image
.chars
()
.take
(
15
)
.collect
::
<
String
>
(),
new_random_item_id
()
);
if
cli_options
.use_kubernetes
{
...
...
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
Menu
Explore
Projects
Groups
Snippets