Print container status as value, not the whole enum member
This commit is contained in:
parent
7b3c2088e1
commit
79b02c90fe
@ -100,7 +100,7 @@ def stop(container_name):
|
||||
|
||||
def status(container_name):
|
||||
# Prints current running status of the container
|
||||
print(Container(container_name).get_state())
|
||||
print(Container(container_name).get_state().value)
|
||||
|
||||
def execute(container_name, command, uid, gid):
|
||||
# Execute a command in container's namespace
|
||||
|
Loading…
Reference in New Issue
Block a user