Merge "Fix references to start and end dates"
This commit is contained in:
commit
be7c3c07c4
@ -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'})
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user