projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
436f5c7
)
10690: Fix missing return after exit().
author
Tom Clegg <tom@curoverse.com>
Fri, 27 Jan 2017 20:45:27 +0000
(15:45 -0500)
committer
Tom Clegg <tom@curoverse.com>
Fri, 27 Jan 2017 22:04:03 +0000
(17:04 -0500)
sdk/go/config/dump.go
patch
|
blob
|
history
diff --git
a/sdk/go/config/dump.go
b/sdk/go/config/dump.go
index 30dbb8a317318877de42d10a92ad7d02b4940c56..36c50eb8ea92ed789461e582409e862543e50de7 100644
(file)
--- a/
sdk/go/config/dump.go
+++ b/
sdk/go/config/dump.go
@@
-1,6
+1,7
@@
package config
import (
+ "errors"
"os"
"github.com/ghodss/yaml"
@@
-22,4
+23,5
@@
func DumpAndExit(cfg interface{}) error {
return err
}
os.Exit(0)
+ return errors.New("exit failed!?")
}