You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncfindContainers(){this.containers=[];letfilterName={};// Split docker items that are local or remoteif(this.options.hasOwnProperty('containers')){for(letkeyinthis.options.containers){letcontainer=this.options.containers[key];if(container.indexOf('http://')===0){// Is remoteletremote=URL.parse(container,true);if(remote.hostname===null||remote.port===null||remote.pathname==='/'){Logger.warn('unrecognized host, '+container);}elseif(filterName.remote.hasOwnProperty(remote.hostname)){<----BUGHEREfilterName[remote.hostname].containers.push(remote.pathname);}else{filterName[remote.hostname]={port: remote.port,containers: [remote.pathname]};}}else{// Is localif(filterName.hasOwnProperty('localhost')){filterName.localhost.containers.push(container);}else{filterName.localhost={containers: [container]};}}}}
We see that there is no property remote on filterName. It should be a simple fix just to remove the .remote part
The text was updated successfully, but these errors were encountered:
The following error is received
if you specify an entry for docker monitoring such as
This is due to this line in the
monitor-docker.js
https://github.com/hyperledger/caliper/blob/943ab2a22872639f39ccb36f8baf94b2863e21c6/packages/caliper-core/lib/manager/monitors/monitor-docker.js#L75which is
We see that there is no property
remote
onfilterName
. It should be a simple fix just to remove the.remote
partThe text was updated successfully, but these errors were encountered: