Check for a valid number of shares

[?]
Aug 12, 2015, 1:36 PM
XLJT5EO6VPLZQ5B6ZW5ZMUWZGSKIG7QKGGSDSGWUOH6R6ZGWY73QC

Dependencies

  • [2] GEADFVZ5 hydra-queue-runner: Improved scheduling
  • [3] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [4] LZVO64YG Merge in the first bits of the API work
  • [5] AMI4DGBK Don't trigger evaluation of disabled jobsets
  • [*] 3HZY24CX * Make jobsets viewable under

Change contents

  • edit in src/lib/Hydra/Controller/Jobset.pm at line 223
    [3.2075]
    [3.2075]
    my $shares = int($c->stash->{params}->{schedulingshares} // 1);
    error($c, "The number of scheduling shares must be positive.") if $shares <= 0;
  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 238
    [3.174][2.868:943]()
    , schedulingshares => int($c->stash->{params}->{schedulingshares})
    [3.174]
    [3.2272]
    , schedulingshares => $shares