Skip to content

Commit

Permalink
[FAB-8734]NodeSDK: Fix typo in log messages
Browse files Browse the repository at this point in the history
fabric-sdk-node has typo in log messages.
Log message displays the name of function. However, it doesn't
match the actual name.

This CR modifies log messages correctly.

Change-Id: I3290d65ee4b303553a0172b8cedd1e05d7197bcd
Signed-off-by: Yuki Kondo <[email protected]>
  • Loading branch information
yuki-kon committed Mar 8, 2018
1 parent 000526d commit 6b9302c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fabric-client/lib/Channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ var Channel = class {
if (response.response) {
logger.debug('queryBlock - response status %d:', response.response.status);
var block = BlockDecoder.decode(response.response.payload);
logger.debug('queryBlockByHash - looking at block :: %s', block.header.number);
logger.debug('queryBlock - looking at block :: %s', block.header.number);
return Promise.resolve(block);
}
// no idea what we have, lets fail it and send it back
Expand Down
2 changes: 1 addition & 1 deletion fabric-client/lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ var Client = class extends BaseClient {
updateChannel(request) {
var have_envelope = false;
if(request && request.envelope) {
logger.debug('createChannel - have envelope');
logger.debug('updateChannel - have envelope');
have_envelope = true;
}
return this._createOrUpdateChannel(request, have_envelope);
Expand Down

0 comments on commit 6b9302c

Please sign in to comment.