From 8447ebc83a11c92316b92a758e293c2bb375e8f2 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 22 Mar 2017 14:21:53 -0500 Subject: [PATCH] spec/plugins: fix 'ip'->'ips' in the spec, bump to 0.3.1 --- spec-upgrades.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec-upgrades.md b/spec-upgrades.md index f6447709..c9efc67a 100644 --- a/spec-upgrades.md +++ b/spec-upgrades.md @@ -1,3 +1,9 @@ +# How to upgrade to CNI Specification v0.3.1 + +The 0.3.0 specification contained a small error. The Result structure's `ip` field should have been renamed to `ips` to be consistent with the IPAM result structure definition; this rename was missed when updating the Result to accommodate multiple IP addresses and interfaces. All first-party CNI plugins (bridge, host-local, etc) were updated to use `ips` (and thus be inconsistent with the 0.3.0 specification) and most other plugins have not been updated to the 0.3.0 specification yet, so few (if any) users should be impacted by this change. + +The 0.3.1 specification corrects the Result structure to use the `ips` field name as originally intended. This is the only change between 0.3.0 and 0.3.1. + # How to upgrade to CNI Specification v0.3.0 Version 0.3.0 of the [CNI Specification](../SPEC.md) provides rich information