Page MenuHomePhabricator

Fix behaviour of max count on blueprints
AbandonedPublic

Authored by hach-que on Sep 10 2014, 6:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 27, 6:16 PM
Unknown Object (File)
Oct 23 2024, 11:33 PM
Unknown Object (File)
Oct 8 2024, 11:59 PM
Unknown Object (File)
Oct 2 2024, 1:06 AM
Unknown Object (File)
Sep 12 2024, 6:23 AM
Unknown Object (File)
Sep 5 2024, 9:49 AM
Unknown Object (File)
Sep 2 2024, 6:03 PM
Unknown Object (File)
Aug 25 2024, 3:42 AM

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T2015: Implement Drydock
Summary

Ref T2015. This fixes the behaviour of blueprints when the user doesn't specify a maximum resource limit. Previously the allocator would treat null as 0 and prevent it from allocating anything. Now it treats null properly as "no maximum".

Test Plan

Tested by specifying no maximum and saw it allocate against the blueprint.

Diff Detail

Repository
rP Phabricator
Branch
max-fix
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2485
Build 2489: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Fix behaviour of max count on blueprints.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
epriestley edited edge metadata.

Premature until dependencies land.

This revision now requires changes to proceed.Aug 8 2015, 5:50 PM

Merged down into D10304 since this is a fix to make D10304 correct anyway.