Fix doi resolution after #1375
This fixes: > Caught exception in Hydra::Controller::Root->realisations "Undefined subroutine &Hydra::Controller::Root::queryRawRealisation called at /nix/store/v842xb35ph8ka1yi1xanjhk4xh1pn5nm-hydra-2024-04-22/libexec/hydra/lib/Hydra/Controller/Root.pm line 371."
This commit is contained in:
parent
b72528be50
commit
1b8154e67f
|
@ -367,7 +367,7 @@ sub realisations :Path('realisations') :Args(StrMatch[REALISATIONS_REGEX]) {
|
||||||
|
|
||||||
else {
|
else {
|
||||||
my ($rawDrvOutput) = $realisation =~ REALISATIONS_REGEX;
|
my ($rawDrvOutput) = $realisation =~ REALISATIONS_REGEX;
|
||||||
my $rawRealisation = queryRawRealisation($rawDrvOutput);
|
my $rawRealisation = $MACHINE_LOCAL_STORE->queryRawRealisation($rawDrvOutput);
|
||||||
|
|
||||||
if (!$rawRealisation) {
|
if (!$rawRealisation) {
|
||||||
$c->response->status(404);
|
$c->response->status(404);
|
||||||
|
|
Loading…
Reference in a new issue