forked from lix-project/hydra
GithubRefs: fixup "my" variable $type masks earlier declaration in same scope
This commit is contained in:
parent
0f8d02894a
commit
093e235bf0
|
@ -97,8 +97,8 @@ sub _iterate {
|
|||
}
|
||||
|
||||
sub fetchInput {
|
||||
my ($self, $type, $name, $value, $project, $jobset) = @_;
|
||||
return undef if $type ne "github_refs";
|
||||
my ($self, $input_type, $name, $value, $project, $jobset) = @_;
|
||||
return undef if $input_type ne "github_refs";
|
||||
|
||||
my ($owner, $repo, $type, $fut, $prefix) = split ' ', $value;
|
||||
die "type field is neither 'heads' nor 'tags', but '$type'"
|
||||
|
|
Loading…
Reference in a new issue