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:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user