]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Change datetime.now() to timeutils.utcnow() from oslo_utils
authorYuriy Nesenenko <ynesenenko@mirantis.com>
Fri, 27 Feb 2015 14:06:03 +0000 (16:06 +0200)
committerYuriy Nesenenko <ynesenenko@mirantis.com>
Thu, 19 Mar 2015 12:12:57 +0000 (14:12 +0200)
commit931c34d38b1839bd48500055fff9003f4885143d
treef1a576aaf8587dd1aae45e1e5bd6bbbacbd75fbd
parent171c22f761b3927a53383e60f6a718eb0e97ac33
Change datetime.now() to timeutils.utcnow() from oslo_utils

We use an UTC time to avoid the difference with time zones.

Change-Id: I15aa3b5d3337b90ccdcc6c4ac5d3c7d78108fe21
Related-Bug: #1288979
18 files changed:
HACKING.rst
cinder/db/sqlalchemy/api.py
cinder/db/sqlalchemy/migrate_repo/versions/021_add_default_quota_class.py
cinder/db/sqlalchemy/migrate_repo/versions/026_add_consistencygroup_quota_class.py
cinder/db/sqlalchemy/migrate_repo/versions/040_add_volume_attachment.py
cinder/hacking/checks.py
cinder/tests/api/contrib/test_volume_host_attribute.py
cinder/tests/api/contrib/test_volume_image_metadata.py
cinder/tests/api/contrib/test_volume_migration_status_attribute.py
cinder/tests/api/contrib/test_volume_tenant_attribute.py
cinder/tests/api/v1/test_snapshots.py
cinder/tests/api/v1/test_volumes.py
cinder/tests/api/v2/test_snapshots.py
cinder/tests/api/v2/test_volumes.py
cinder/tests/db/test_purge.py
cinder/tests/test_backup_tsm.py
cinder/tests/test_hacking.py
cinder/volume/drivers/zfssa/zfssanfs.py