From d80699f07f31ccb4902cf9dc340102e83812f45f Mon Sep 17 00:00:00 2001 From: Jason Boxman Date: Thu, 28 Jan 2021 22:48:55 -0500 Subject: [PATCH] Fix double nesting of `ipam` key - https://bugzilla.redhat.com/show_bug.cgi?id=1917881 --- modules/nw-sriov-network-attachment.adoc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/modules/nw-sriov-network-attachment.adoc b/modules/nw-sriov-network-attachment.adoc index 7a89c957c830..d07a07b2f689 100644 --- a/modules/nw-sriov-network-attachment.adoc +++ b/modules/nw-sriov-network-attachment.adoc @@ -59,15 +59,13 @@ spec: resourceName: net1 networkNamespace: project2 ipam: |- - { - "ipam": { - "type": "host-local", - "subnet": "10.56.217.0/24", - "rangeStart": "10.56.217.171", - "rangeEnd": "10.56.217.181", - "gateway": "10.56.217.1" - } - } + { + "type": "host-local", + "subnet": "10.56.217.0/24", + "rangeStart": "10.56.217.171", + "rangeEnd": "10.56.217.181", + "gateway": "10.56.217.1" + } ---- . To create the object, enter the following command: