1
0
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:
Darren
2015-02-21 19:40:44 -07:00
8 changed files with 273 additions and 59 deletions

View File

@@ -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)