cniVersion and config structure mismatch
authorgunjan5 <patelgunjan5@gmail.com>
Fri, 5 May 2017 21:50:58 +0000 (14:50 -0700)
committergunjan5 <patelgunjan5@gmail.com>
Fri, 5 May 2017 21:50:58 +0000 (14:50 -0700)
SPEC.md

diff --git a/SPEC.md b/SPEC.md
index 1ef68ff..cc47642 100644 (file)
--- a/SPEC.md
+++ b/SPEC.md
@@ -353,10 +353,13 @@ Note that the runtime adds the `cniVersion` and `name` fields from configuration
     "net.core.somaxconn": "500"
   },
   "prevResult": {
-    "ip4": {
-      "ip": "10.1.0.3/16",
-      "gateway": "10.1.0.1"
-    },
+    "ips": [
+        {
+          "version": "4",
+          "address": "10.0.0.5/32",
+          "interface": 0
+        }
+    ],
     "dns": {
       "nameservers": [ "10.1.0.1" ]
     }