Closed 0xIslamTaha closed 5 years ago
what behavior do you expect. An empty state is correct here.
@zaibon I expected {'install: {'status' : 'error'}}
We dont set a status for the error. If the install action state is not set, then that means the service isn't installed. This will be the state {'actions: {'install' : 'ok'}}
if it was installed successfully. And you can just check if this state exists to know whether the service got installed or not.
@0xIslamTaha but I think you make a point, we could probably improve this behavior and automatically set this kind of state when actions fails. But this will be for future version of 0-robot
Description s3.state returns empty dict, however, the installation has been failed
zrobot logs