diff --git a/src/rockstor/storageadmin/views/rockon_utils.py b/src/rockstor/storageadmin/views/rockon_utils.py index 7484420b0..c7b86346b 100644 --- a/src/rockstor/storageadmin/views/rockon_utils.py +++ b/src/rockstor/storageadmin/views/rockon_utils.py @@ -28,7 +28,7 @@ def container_status(name): state = 'unknown_error' try: o, e, rc = run_command([DOCKER, 'inspect', '-f', - '{{range $key, $value := .State}}{{$key}}:{{$value}},{{ end }}', name]) # noqa E501 + 'Error:{{.State.Error}},ExitCode:{{.State.ExitCode}},Running:{{.State.Running}}', name]) # noqa E501 state_d = {} for i in o[0].split(','): fields = i.split(':')