Skip to content

Commit

Permalink
[FAB-12371]Fix the doc to use new cid package
Browse files Browse the repository at this point in the history
The latest cid package is fabric/core/chaincode/shim/ext/cid.
This CR fixes the doc to use the new cid package instead of the
old one at fabric/core/chaincode/lib/cid.

Change-Id: Ie7b9cba186eb7cd5ec08f83b1578466f499b8bd9
Signed-off-by: Yuki Kondo <yuki.kondo@hal.hitachi.com>
  • Loading branch information
yuki-kon committed Oct 12, 2018
1 parent 9b6ae1c commit bd576c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/chaincode/shim/ext/cid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ All code samples below assume two things:
to your chaincode.
2. You have added the following import statement to your chaincode.
```
import "github.com/hyperledger/fabric/core/chaincode/lib/cid"
import "github.com/hyperledger/fabric/core/chaincode/shim/ext/cid"
```
#### Getting the client's ID

Expand Down
2 changes: 1 addition & 1 deletion docs/source/chaincode4ade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Chaincode API
such access control decisions.

We won't cover that in this tutorial, however it is
`documented here <https://github.com/hyperledger/fabric/blob/master/core/chaincode/lib/cid/README.md>`_.
`documented here <https://github.com/hyperledger/fabric/blob/master/core/chaincode/shim/ext/cid/README.md>`_.

Every chaincode program must implement the ``Chaincode`` interface:

Expand Down
2 changes: 1 addition & 1 deletion docs/source/private-data-arch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Limitations:
non-authorized clients are able to invoke chaincode on peers that have access
to the private data, the chaincode logic still needs a means to enforce access
control as usual, for example by calling the GetCreator() chaincode API or
using the client identity `chaincode library <https://github.com/hyperledger/fabric/tree/master/core/chaincode/lib/cid>`__ .
using the client identity `chaincode library <https://github.com/hyperledger/fabric/tree/master/core/chaincode/shim/ext/cid>`__ .

Using Indexes with collections
------------------------------
Expand Down

0 comments on commit bd576c5

Please sign in to comment.