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)
Mon, Apr 22, 7:20 PM
Unknown Object (File)
Fri, Apr 12, 5:33 PM
Unknown Object (File)
Fri, Apr 12, 5:33 PM
Unknown Object (File)
Wed, Apr 10, 1:37 AM
Unknown Object (File)
Thu, Apr 4, 3:30 AM
Unknown Object (File)
Tue, Apr 2, 3:50 PM
Unknown Object (File)
Mar 22 2024, 6:37 PM
Unknown Object (File)
Mar 15 2024, 1:53 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.