Skip to content
This repository
Browse code

Format vm data before return

  • Loading branch information...
commit 5e124eb30a7243d35f5ebd6f272617a6feb092ec 1 parent eff8c39
Thomas S Hatch authored May 01, 2012

Showing 1 changed file with 7 additions and 1 deletion. Show diff stats Hide diff stats

  1. 8  saltcloud/config.py
8  saltcloud/config.py
@@ -47,4 +47,10 @@ def vm_config(path):
47 47
     if 'include' in opts:
48 48
         opts = include_config(opts, path)
49 49
 
50  
-    return opts
  50
+    vms = []
  51
+
  52
+    for key, val in opts.items():
  53
+        val['name'] = key
  54
+        vms.append(val)
  55
+
  56
+    return vms

0 notes on commit 5e124eb

Please sign in to comment.
Something went wrong with that request. Please try again.