forked from lix-project/hydra
ListBuilds: Fix legacy channel URLs.
Regression introduced by 1fdc258de0
.
The commit introduced a channel/custom PathPart which uses the new
custom channel expressions, but I forgot to remove CaptureArgs, so the
URL really is channel/latest/ignored-value.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: Peter Simons <simons@cryp.to>
This commit is contained in:
parent
c087472c71
commit
20b412224e
|
@ -32,8 +32,8 @@ sub all : Chained('get_builds') PathPart {
|
|||
}
|
||||
|
||||
|
||||
sub nix : Chained('get_builds') PathPart('channel/latest') CaptureArgs(1) {
|
||||
my ($self, $c, $channelName) = @_;
|
||||
sub nix : Chained('get_builds') PathPart('channel/latest') {
|
||||
my ($self, $c) = @_;
|
||||
|
||||
$c->stash->{channelName} = $c->stash->{channelBaseName} . "-latest";
|
||||
$c->stash->{channelBuilds} = $c->stash->{latestSucceeded}
|
||||
|
|
Loading…
Reference in a new issue