From 2282f412d7e18e14f119568837993d02ab35f953 Mon Sep 17 00:00:00 2001 From: Mitsunori Komatsu Date: Mon, 11 Sep 2017 19:14:47 +0900 Subject: [PATCH 1/2] Fix wrong field name: Meta -> NodeMeta --- website/source/api/catalog.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/api/catalog.html.md b/website/source/api/catalog.html.md index f4a038056b..6f4300903b 100644 --- a/website/source/api/catalog.html.md +++ b/website/source/api/catalog.html.md @@ -408,7 +408,7 @@ $ curl \ "lan": "192.168.10.10", "wan": "10.0.10.10" }, - "Meta": { + "NodeMeta": { "instance_type": "t2.medium" }, "CreateIndex": 51, @@ -434,7 +434,7 @@ $ curl \ - `TaggedAddresses` is the list of explicit LAN and WAN IP addresses for the agent -- `Meta` is a list of user-defined metadata key/value pairs for the node +- `NodeMeta` is a list of user-defined metadata key/value pairs for the node - `CreateIndex` is an internal index value representing when the service was created From 552681b2a5fecac19b4d283ad8bcbd403c1f13f8 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Mon, 11 Sep 2017 13:01:56 +0200 Subject: [PATCH 2/2] Update example --- website/source/api/catalog.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/api/catalog.html.md b/website/source/api/catalog.html.md index 6f4300903b..dfb95cd0e7 100644 --- a/website/source/api/catalog.html.md +++ b/website/source/api/catalog.html.md @@ -409,7 +409,7 @@ $ curl \ "wan": "10.0.10.10" }, "NodeMeta": { - "instance_type": "t2.medium" + "somekey": "somevalue" }, "CreateIndex": 51, "ModifyIndex": 51,