Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
0a4981eb
Commit
0a4981eb
authored
Jan 20, 2017
by
Matt Liggett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only run gcloud as root if we plan to change something.
parent
6b293d4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
common.sh
cluster/common.sh
+1
-1
No files found.
cluster/common.sh
View file @
0a4981eb
...
@@ -1069,7 +1069,7 @@ function update-or-verify-gcloud() {
...
@@ -1069,7 +1069,7 @@ function update-or-verify-gcloud() {
${
sudo_prefix
}
gcloud
${
gcloud_prompt
:-}
components
install
beta
${
sudo_prefix
}
gcloud
${
gcloud_prompt
:-}
components
install
beta
${
sudo_prefix
}
gcloud
${
gcloud_prompt
:-}
components update
${
sudo_prefix
}
gcloud
${
gcloud_prompt
:-}
components update
else
else
local
version
=
$(
${
sudo_prefix
}
gcloud version
--format
=
json
)
local
version
=
$(
gcloud version
--format
=
json
)
python
-c
'
python
-c
'
import json,sys
import json,sys
from distutils import version
from distutils import version
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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