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
e7445a46
Commit
e7445a46
authored
Feb 05, 2016
by
Matt Butcher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(vet): fix a number of lint/vet warnings
parent
be2a09d6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
dm.go
cmd/helm/dm.go
+1
-1
doctor.go
cmd/helm/doctor.go
+1
-0
uninstall.go
dm/uninstall.go
+1
-1
messages.go
format/messages.go
+2
-0
No files found.
cmd/helm/dm.go
View file @
e7445a46
...
...
@@ -27,7 +27,7 @@ func uninstall(dryRun bool) error {
out
,
err
:=
dm
.
Uninstall
(
runner
)
if
err
!=
nil
{
format
.
Err
or
(
"Error uninstalling: %s %s"
,
out
,
err
)
format
.
Err
(
"Error uninstalling: %s %s"
,
out
,
err
)
}
format
.
Msg
(
out
)
return
nil
...
...
cmd/helm/doctor.go
View file @
e7445a46
...
...
@@ -2,6 +2,7 @@ package main
import
(
"github.com/deis/helm-dm/dm"
"github.com/deis/helm-dm/format"
"github.com/deis/helm-dm/kubectl"
)
...
...
dm/uninstall.go
View file @
e7445a46
...
...
@@ -4,7 +4,7 @@ import (
"github.com/deis/helm-dm/kubectl"
)
//
u
ninstall uses kubectl to uninstall the base DM.
//
U
ninstall uses kubectl to uninstall the base DM.
//
// Returns the string output received from the operation, and an error if the
// command failed.
...
...
format/messages.go
View file @
e7445a46
...
...
@@ -24,11 +24,13 @@ func Msg(msg string, v ...interface{}) {
fmt
.
Fprintf
(
os
.
Stdout
,
msg
,
v
...
)
}
// Success is an achievement marked by pretty output.
func
Success
(
msg
string
,
v
...
interface
{})
{
msg
=
"[Success] "
+
msg
+
"
\n
"
fmt
.
Fprintf
(
os
.
Stdout
,
msg
,
v
...
)
}
// Warning emits a warning message.
func
Warning
(
msg
string
,
v
...
interface
{})
{
msg
=
"[Warning] "
+
msg
+
"
\n
"
fmt
.
Fprintf
(
os
.
Stdout
,
msg
,
v
...
)
...
...
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