Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
k8s
devtool
Commits
1a8a2141
Commit
1a8a2141
authored
Jan 07, 2020
by
CHRISTOPHER PIKE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix linting issues
parent
95ffc1b7
Pipeline
#76523
passed with stages
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
cmd/start.go
cmd/start.go
+2
-10
No files found.
cmd/start.go
View file @
1a8a2141
...
...
@@ -44,7 +44,6 @@ var startCmd = &cobra.Command{
}
const
(
helmVersionThreeTag
=
"Version"
helmVersionTwoTag
=
"SemVer"
)
...
...
@@ -132,19 +131,12 @@ func helmVersion2() bool {
}
ss
:=
strings
.
FieldsFunc
(
string
(
bytes
),
func
(
r
rune
)
bool
{
if
r
==
'{'
{
return
true
}
return
false
return
r
==
'{'
})
keyValues
:=
strings
.
Split
(
ss
[
1
],
":"
)
if
keyValues
[
0
]
==
helmVersionTwoTag
{
return
true
}
return
false
return
keyValues
[
0
]
==
helmVersionTwoTag
}
func
checkLocalSetup
()
bool
{
...
...
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