Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15396743
D19077.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
965 B
Referenced Files
None
Subscribers
None
D19077.id.diff
View Options
diff --git a/src/applications/drydock/management/DrydockManagementLeaseWorkflow.php b/src/applications/drydock/management/DrydockManagementLeaseWorkflow.php
--- a/src/applications/drydock/management/DrydockManagementLeaseWorkflow.php
+++ b/src/applications/drydock/management/DrydockManagementLeaseWorkflow.php
@@ -62,6 +62,10 @@
$drydock_phid = id(new PhabricatorDrydockApplication())->getPHID();
$lease->setAuthorizingPHID($drydock_phid);
+ if ($attributes) {
+ $lease->setAttributes($attributes);
+ }
+
// TODO: This is not hugely scalable, although this is a debugging workflow
// so maybe it's fine. Do we even need `bin/drydock lease` in the long run?
$all_blueprints = id(new DrydockBlueprintQuery())
@@ -76,10 +80,6 @@
}
$lease->setAllowedBlueprintPHIDs($allowed_phids);
- if ($attributes) {
- $lease->setAttributes($attributes);
- }
-
if ($until) {
$lease->setUntil($until);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 17, 4:04 PM (4 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7382157
Default Alt Text
D19077.id.diff (965 B)
Attached To
Mode
D19077: Don't let `bin/drydock lease --attributes` overwrite blueprints
Attached
Detach File
Event Timeline
Log In to Comment