Skip to content

Commit

Permalink
fixed typo and modified to use of inputLog
Browse files Browse the repository at this point in the history
Signed-off-by: jnjerin <[email protected]>
  • Loading branch information
jnjerin committed Aug 18, 2023
1 parent 6e739cd commit 93abf24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion e2e-network/docker/expect-invoke-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ -z "$expected" ]; then
exit 1
fi

label="Invoke $channel/$cli/$peer $command"
label="Invoke $channel/$cli/$peers $command"
echo ""
echo "➜ testing: $label"

Expand Down
10 changes: 5 additions & 5 deletions src/setup-docker/templates/fabric-docker/chaincode-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ chaincodeInvoke() {
local TRANSIENT="$5"

echo "-> Chaincode invoke:"
echo "CHANNEL: $CHANNEL"
echo "CHAINCODE: $CHAINCODE"
echo "PEERS: $PEERS"
echo "COMMAND: $COMMAND"
echo "TRANSIENT: $TRANSIENT"
inputLog "CHANNEL: $CHANNEL"
inputLog "CHAINCODE: $CHAINCODE"
inputLog "PEERS: $PEERS"
inputLog "COMMAND: $COMMAND"
inputLog "TRANSIENT: $TRANSIENT"

# Validate the input parameters
if [[ -z $CHANNEL || -z $CHAINCODE || -z $PEERS || -z $COMMAND || -z $TRANSIENT ]]; then
Expand Down

0 comments on commit 93abf24

Please sign in to comment.