From 24d418d28eb31789e89707fc61c2d321ee67e0f1 Mon Sep 17 00:00:00 2001 From: joealewine Date: Thu, 19 Dec 2019 13:36:25 -0500 Subject: [PATCH] [FAB-17128] Add single quote to channel name env var (#437) Adding to previous commit to add needed single quotes around the $CHANNEL_NAME env var Change-Id: Ie52b0b1c0e3ae5dd12cae051a8fe65989f47dd06 Signed-off-by: joe-alewine --- docs/source/channel_update_tutorial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/channel_update_tutorial.rst b/docs/source/channel_update_tutorial.rst index 8e46800064a..b248055ae8f 100644 --- a/docs/source/channel_update_tutorial.rst +++ b/docs/source/channel_update_tutorial.rst @@ -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 @@ -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.