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
wajahat Ch
Pod
Commits
68eeddbb
Unverified
Commit
68eeddbb
authored
4 years ago
by
Vasili Novikov
Browse files
Options
Download
Email Patches
Plain Diff
Fix kubectl shorter kubernetes-pod name
parent
987eb8a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugin_run.rs
+3
-4
src/plugin_run.rs
with
3 additions
and
4 deletions
+3
-4
src/plugin_run.rs
+
3
-
4
View file @
68eeddbb
...
...
@@ -42,10 +42,9 @@ pub fn run_plugin_container(
let
auth
=
database_key
.create_plugin_auth
()
?
;
let
auth
=
serde_json
::
to_string
(
&
auth
)
?
;
let
container_id
=
format!
(
"{}-{}-{}-{}"
,
pod_owner
,
container_image
,
item
,
"{}-{}-{}"
,
pod_owner
.chars
()
.take
(
10
)
.collect
(),
container_image
.chars
()
.take
(
15
)
.collect
(),
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