Merge "Fix references to start and end dates"

This commit is contained in:
Zuul 2022-05-06 08:34:41 +00:00 committed by Gerrit Code Review
commit be7c3c07c4
2 changed files with 2 additions and 2 deletions

View File

@ -332,7 +332,7 @@ class SQLAlchemyDBApiTestCase(tests.DBTestCase):
self.assertEqual(['1', '2'], db_api.lease_list())
def test_lease_update(self):
"""Update both start_time and name and check lease has been updated."""
"""Update both start_date and name and check lease has been updated."""
result = _create_physical_lease()
result = db_api.lease_update(result['id'],
values={'name': 'lease_renamed'})

View File

@ -39,7 +39,7 @@ as follows:
MaxLeaseDurationFilter
----------------------
This filter simply examines the lease ``start_time`` and ``end_time``
This filter simply examines the lease ``start_date`` and ``end_date``
attributes and rejects the lease if its duration exceeds a threshold. It
supports two configuration options: