diff --git a/src/Hydra/lib/Hydra/Controller/Root.pm b/src/Hydra/lib/Hydra/Controller/Root.pm index 159dc770..1a57db52 100644 --- a/src/Hydra/lib/Hydra/Controller/Root.pm +++ b/src/Hydra/lib/Hydra/Controller/Root.pm @@ -300,7 +300,7 @@ sub updateReleaseSet { { job => $name , description => $description , attrs => $attrs - , isprimary => $c->request->params->{"primary"} eq $baseName + , isprimary => $c->request->params->{"primary"} eq $baseName ? 1 : 0 }); }