aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/MGA/Mirrors/Controller/Api.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MGA/Mirrors/Controller/Api.pm b/lib/MGA/Mirrors/Controller/Api.pm
index 91846dc..6f85a80 100644
--- a/lib/MGA/Mirrors/Controller/Api.pm
+++ b/lib/MGA/Mirrors/Controller/Api.pm
@@ -30,9 +30,9 @@ sub index :Path :Args(0) {
sub list :Path :Args(1) {
my ( $self, $c, $arg ) = @_;
- my ($product, $version, $arch) = $arg =~ m/^([^\.]+)\.(.+)\.([^\.]+)\.list$/;
+ my ($type, $version, $arch) = $arg =~ m/^([^\.]+)\.(.+)\.([^\.]+)\.list$/;
- $c->log->debug("$product, $version, $arch");
+ $c->log->debug("$type, $version, $arch");
my $list = $c->model('Mirrors')->find_distributions(
{