diff --git a/src/lib/Hydra/Plugin/GithubRefs.pm b/src/lib/Hydra/Plugin/GithubRefs.pm index 1de2672d..2038ea47 100644 --- a/src/lib/Hydra/Plugin/GithubRefs.pm +++ b/src/lib/Hydra/Plugin/GithubRefs.pm @@ -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'"