updates to force CoreCommandError to contain string values for stderr and stdout, couple bugfixes in handling bad commands when using execute commands from tlv based api or coresendmsg, also updates to coresendmsg to display everything in lowercase to mimic previous look and feel, however coresendmg will now work regardless of casing to avoid breaking things again

This commit is contained in:
Blake Harnden 2020-05-13 12:01:28 -07:00
parent 454dc8091e
commit 95d3a6ca8c
7 changed files with 29 additions and 36 deletions

View file

@ -35,7 +35,7 @@ class DockerClient:
output = self.run(args)
data = json.loads(output)
if not data:
raise CoreCommandError(-1, args, f"docker({self.name}) not present")
raise CoreCommandError(1, args, f"docker({self.name}) not present")
return data[0]
def is_alive(self) -> bool: