Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
baf9ae9c
Commit
baf9ae9c
authored
Mar 30, 2016
by
Matt Butcher
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #518 from technosophos/fix/doctor
fix(cli): fix 'helm doctor'
parents
7d6b8254
677df72d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
doctor.go
cmd/helm/doctor.go
+1
-1
get.go
pkg/kubectl/get.go
+1
-1
No files found.
cmd/helm/doctor.go
View file @
baf9ae9c
...
@@ -42,7 +42,7 @@ func doctor(c *cli.Context) error {
...
@@ -42,7 +42,7 @@ func doctor(c *cli.Context) error {
if
client
.
IsInstalled
(
runner
)
{
if
client
.
IsInstalled
(
runner
)
{
format
.
Success
(
"You have everything you need. Go forth my friend!"
)
format
.
Success
(
"You have everything you need. Go forth my friend!"
)
}
else
{
}
else
{
format
.
Warning
(
"Looks like you don't have DM installed.
\n
Run: `helm install`"
)
format
.
Warning
(
"Looks like you don't have DM installed.
\n
Run: `helm
server
install`"
)
}
}
return
nil
return
nil
...
...
pkg/kubectl/get.go
View file @
baf9ae9c
...
@@ -34,7 +34,7 @@ func (r RealRunner) GetByKind(kind, name, ns string) (string, error) {
...
@@ -34,7 +34,7 @@ func (r RealRunner) GetByKind(kind, name, ns string) (string, error) {
args
:=
[]
string
{
"get"
,
kind
}
args
:=
[]
string
{
"get"
,
kind
}
if
name
!=
""
{
if
name
!=
""
{
args
=
append
(
[]
string
{
name
},
args
...
)
args
=
append
(
args
,
name
)
}
}
if
ns
!=
""
{
if
ns
!=
""
{
...
...
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