Instance users and dockerd. (#18)

This commit is contained in:
Savinda Senevirathne
2021-06-25 14:16:22 +05:30
committed by GitHub
parent 2392e6f1f2
commit 7dd0ea97b5
15 changed files with 607 additions and 159 deletions

View File

@@ -256,6 +256,7 @@ namespace msg::json
* 'reply_for': '<reply_for>'
* 'type': '<message type>',
* "name": "<container name>"
* "username": "<instance user name>""
* "ip": "<ip of the container>"
* "pubkey": "<public key of the contract>"
* "contract_id": "<contract id of the contract>"
@@ -279,8 +280,12 @@ namespace msg::json
msg += SEP_COMMA;
msg += "name";
msg += SEP_COLON;
msg += info.name;
msg += info.container_name;
msg += SEP_COMMA;
// msg += "username"; // Uncomment if username is required for debugging.
// msg += SEP_COLON;
// msg += info.username;
// msg += SEP_COMMA;
msg += "ip";
msg += SEP_COLON;
msg += info.ip;