mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-08-31 16:39:20 +00:00
Fix object dumping (#222)
This commit is contained in:
@@ -152,7 +152,7 @@ func generateUpgradeConfForCLIArgs(source string, upgradeRecovery bool) (string,
|
||||
upgradeConfig.Upgrade.System.URI = source
|
||||
}
|
||||
|
||||
d, err := json.Marshal(upgrade)
|
||||
d, err := json.Marshal(upgradeConfig)
|
||||
|
||||
return string(d), err
|
||||
}
|
||||
|
Reference in New Issue
Block a user