Reviewed: https://review.openstack.org/443017 Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=f5c2f0da75afa155ee70e1dbb022281d0c1d8ea1 Submitter: Jenkins Branch: master
commit f5c2f0da75afa155ee70e1dbb022281d0c1d8ea1 Author: ShunliZhou <email address hidden> Date: Wed Mar 8 17:10:51 2017 +0800
Fix inspect time do not match required format
When execute zun list, docker-py inspect may return start time not in required format, container.docker.driver: format_status_detail throw exception.
Since we do not need the micro seconds field, trim the time string to [:19] and discard the microseconds field in the format string.
Change-Id: Ib3da2551d65d67d18ab8293ead0de34818a4f301 Close-bug: #1670964
Reviewed: https:/ /review. openstack. org/443017 /git.openstack. org/cgit/ openstack/ zun/commit/ ?id=f5c2f0da75a fa155ee70e1dbb0 22281d0c1d8ea1
Committed: https:/
Submitter: Jenkins
Branch: master
commit f5c2f0da75afa15 5ee70e1dbb02228 1d0c1d8ea1
Author: ShunliZhou <email address hidden>
Date: Wed Mar 8 17:10:51 2017 +0800
Fix inspect time do not match required format
When execute zun list, docker-py inspect may return start docker. driver: status_ detail throw exception.
time not in required format, container.
format_
Since we do not need the micro seconds field, trim the time
string to [:19] and discard the microseconds field in the format
string.
Change-Id: Ib3da2551d65d67 d18ab8293ead0de 34818a4f301
Close-bug: #1670964