1
0
mirror of https://github.com/rancher/os.git synced 2025-09-13 21:51:33 +00:00

Fix --private flag for 'ros config export'

This commit is contained in:
Josh Curl
2016-05-31 18:10:56 -07:00
parent 410dfbe0fd
commit a59ec33787
2 changed files with 19 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ func Merge(bytes []byte) error {
func Export(private, full bool) (string, error) {
rawCfg, err := LoadRawConfig(full)
if private {
if !private {
rawCfg = filterPrivateKeys(rawCfg)
}