Reviewed: https://review.openstack.org/226184 Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=a48efaa3dd4853c0b5d07d70aabe139267b73568 Submitter: Jenkins Branch: master
commit a48efaa3dd4853c0b5d07d70aabe139267b73568 Author: Eli Qiao <email address hidden> Date: Tue Sep 22 15:25:38 2015 +0800
Fix container status when showing a paused containers
We inspect a container when doing container-show, if the container is paused, inspect will return follows:
"State": { "Error": "", ... "Paused": true, "Pid": 3894, "Restarting": false, "Running": true, },
currently, we just mark an container object's status as Running in this case, but it is actually Paused.
Change-Id: I132f1d676e4f15be3ea7fe51cbb7391702ce558c Closes-Bug: #1498326
Reviewed: https:/ /review. openstack. org/226184 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=a48efaa3dd4 853c0b5d07d70aa be139267b73568
Committed: https:/
Submitter: Jenkins
Branch: master
commit a48efaa3dd4853c 0b5d07d70aabe13 9267b73568
Author: Eli Qiao <email address hidden>
Date: Tue Sep 22 15:25:38 2015 +0800
Fix container status when showing a paused containers
We inspect a container when doing container-show, if the container is paused,
inspect will return follows:
"State": {
"Error" : "",
"Paused" : true,
"Restartin g": false,
"Running" : true,
...
"Pid": 3894,
},
currently, we just mark an container object's status as Running in this case,
but it is actually Paused.
Change-Id: I132f1d676e4f15 be3ea7fe51cbb73 91702ce558c
Closes-Bug: #1498326