mirror of
https://github.com/rancher/os.git
synced 2025-09-08 18:20:32 +00:00
Merge pull request #31 from sidharthamani/master
add upgrade framework for rancherctl os command
This commit is contained in:
@@ -182,7 +182,7 @@ func getOrSetVal(args string, data map[interface{}]interface{}, value interface{
|
||||
for i, part := range parts {
|
||||
val, ok := data[part]
|
||||
last := i+1 == len(parts)
|
||||
|
||||
|
||||
if last && value != nil {
|
||||
if s, ok := value.(string); ok {
|
||||
value = config.DummyMarshall(s)
|
||||
|
Reference in New Issue
Block a user