projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
12891: Refactor slurm commands.
[arvados.git]
/
sdk
/
go
/
config
/
dump.go
diff --git
a/sdk/go/config/dump.go
b/sdk/go/config/dump.go
index 30dbb8a317318877de42d10a92ad7d02b4940c56..e835deec2d469caae204b8b100b7d2f2cff6dc61 100644
(file)
--- a/
sdk/go/config/dump.go
+++ b/
sdk/go/config/dump.go
@@
-1,6
+1,11
@@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
package config
import (
+ "errors"
"os"
"github.com/ghodss/yaml"
@@
-22,4
+27,5
@@
func DumpAndExit(cfg interface{}) error {
return err
}
os.Exit(0)
+ return errors.New("exit failed!?")
}