Skip to content

Commit

Permalink
[FAB-17128] Add single quote to channel name env var (hyperledger#437)
Browse files Browse the repository at this point in the history
Adding to previous commit to add needed single
quotes around the $CHANNEL_NAME env var

Change-Id: Ie52b0b1c0e3ae5dd12cae051a8fe65989f47dd06
Signed-off-by: joe-alewine <Joe.Alewine@ibm.com>
  • Loading branch information
joealewine authored and yacovm committed Dec 24, 2019
1 parent bae0bbd commit 13554f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/channel_update_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ earlier. We'll name this file ``org3_update_in_envelope.json``:

.. code:: bash
echo '{"payload":{"header":{"channel_header":{"channel_id":"$CHANNEL_NAME", "type":2}},"data":{"config_update":'$(cat org3_update.json)'}}}' | jq . > org3_update_in_envelope.json
echo '{"payload":{"header":{"channel_header":{"channel_id":"'$CHANNEL_NAME'", "type":2}},"data":{"config_update":'$(cat org3_update.json)'}}}' | jq . > org3_update_in_envelope.json
Using our properly formed JSON -- ``org3_update_in_envelope.json`` -- we will
leverage the ``configtxlator`` tool one last time and convert it into the
Expand Down Expand Up @@ -790,7 +790,7 @@ stripped away header, outputting it to ``anchor_update_in_envelope.json``

.. code:: bash
echo '{"payload":{"header":{"channel_header":{"channel_id":"$CHANNEL_NAME", "type":2}},"data":{"config_update":'$(cat anchor_update.json)'}}}' | jq . > anchor_update_in_envelope.json
echo '{"payload":{"header":{"channel_header":{"channel_id":"'$CHANNEL_NAME'", "type":2}},"data":{"config_update":'$(cat anchor_update.json)'}}}' | jq . > anchor_update_in_envelope.json
Now that we have reincorporated the envelope we need to convert it
to a protobuf so it can be properly signed and submitted to the orderer for the update.
Expand Down

0 comments on commit 13554f6

Please sign in to comment.