From f3b55c9c0d27b511dc6ac947ec3d3bd756e2c51f Mon Sep 17 00:00:00 2001 From: Chris Elder Date: Thu, 1 Mar 2018 14:02:56 -0500 Subject: [PATCH] [FAB-8621] Remove Marbles index json data wrapper Fabric 1.1 removes the need for a "data" wrapper for CouchDB data. The marbles02 sample index json files in fabric-samples still contains the data wrapper. Change-Id: Ic984b1408da4959000ae99962bf9a48d66334860 Signed-off-by: Chris Elder --- .../go/META-INF/statedb/couchdb/indexes/indexOwner.json | 2 +- .../node/META-INF/statedb/couchdb/indexes/indexOwner.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chaincode/marbles02/go/META-INF/statedb/couchdb/indexes/indexOwner.json b/chaincode/marbles02/go/META-INF/statedb/couchdb/indexes/indexOwner.json index f2ae16af6a..305f090444 100644 --- a/chaincode/marbles02/go/META-INF/statedb/couchdb/indexes/indexOwner.json +++ b/chaincode/marbles02/go/META-INF/statedb/couchdb/indexes/indexOwner.json @@ -1 +1 @@ -{"index":{"fields":["data.docType","data.owner"]},"ddoc":"indexOwnerDoc", "name":"indexOwner","type":"json"} +{"index":{"fields":["docType","owner"]},"ddoc":"indexOwnerDoc", "name":"indexOwner","type":"json"} diff --git a/chaincode/marbles02/node/META-INF/statedb/couchdb/indexes/indexOwner.json b/chaincode/marbles02/node/META-INF/statedb/couchdb/indexes/indexOwner.json index f2ae16af6a..305f090444 100644 --- a/chaincode/marbles02/node/META-INF/statedb/couchdb/indexes/indexOwner.json +++ b/chaincode/marbles02/node/META-INF/statedb/couchdb/indexes/indexOwner.json @@ -1 +1 @@ -{"index":{"fields":["data.docType","data.owner"]},"ddoc":"indexOwnerDoc", "name":"indexOwner","type":"json"} +{"index":{"fields":["docType","owner"]},"ddoc":"indexOwnerDoc", "name":"indexOwner","type":"json"}