Removed unnecessary type converting for port mapping data.
@@ -42,7 +42,7 @@ class DockerAgent(AgentBase):
'img': 'yeasy/hyperledger-fabric:2.2.0',
'cmd': 'bash /tmp/init.sh "peer node start"' if info.get("type") == "peer" else 'bash /tmp/init.sh "orderer"',
'name': 'cello-hlf-{}-{}'.format(info.get("type"), info.get("name")),
- 'port_map': str(info.get("ports").__repr__()),
+ 'port_map': info.get("ports").__repr__(),
'action': 'create'
}
