Page MenuHomePhabricator

Rename Drydock Lease STATUS_EXPIRED to STATUS_DESTROYED
ClosedPublic

Authored by epriestley on Sep 24 2015, 2:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 8:40 PM
Unknown Object (File)
Fri, Dec 13, 8:20 AM
Unknown Object (File)
Sun, Dec 8, 6:27 AM
Unknown Object (File)
Wed, Dec 4, 6:21 PM
Unknown Object (File)
Sun, Dec 1, 5:52 PM
Unknown Object (File)
Wed, Nov 27, 9:24 AM
Unknown Object (File)
Wed, Nov 27, 3:09 AM
Unknown Object (File)
Tue, Nov 26, 6:55 PM
Subscribers
None

Details

Summary

Ref T9252. This is now more consistent (same as the equivalent Resource state) and accurate (leases can end up in this state a bunch of ways, including by expiring).

Test Plan

grep, browsed around web UI.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley updated this revision to Diff 34192.
epriestley retitled this revision from to Rename Drydock Lease STATUS_EXPIRED to STATUS_DESTROYED.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
  • Also prevent releasing destroyed leases. This doesn't hurt anything, but doesn't make sense.
chad edited edge metadata.
chad added inline comments.
src/applications/drydock/storage/DrydockLease.php
162–163

such excite

This revision is now accepted and ready to land.Sep 24 2015, 2:56 AM
This revision was automatically updated to reflect the committed changes.