aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-03-21 22:35:17 +0000
committerOlivier Blin <blino@mageia.org>2011-03-21 22:35:17 +0000
commitb3ae316aa523d452d7cc0342a9737661fc3915dd (patch)
tree00b897f5a63d05f3083fdf00e77defe986a209ec /lib
parent322dad9b1843c055b4322a12f30dec349b853ea5 (diff)
downloadmgamirrors-b3ae316aa523d452d7cc0342a9737661fc3915dd.tar
mgamirrors-b3ae316aa523d452d7cc0342a9737661fc3915dd.tar.gz
mgamirrors-b3ae316aa523d452d7cc0342a9737661fc3915dd.tar.bz2
mgamirrors-b3ae316aa523d452d7cc0342a9737661fc3915dd.tar.xz
mgamirrors-b3ae316aa523d452d7cc0342a9737661fc3915dd.zip
fix arch key in mirrors API output
Diffstat (limited to 'lib')
-rw-r--r--lib/MGA/Mirrors/Controller/Api.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/Mirrors/Controller/Api.pm b/lib/MGA/Mirrors/Controller/Api.pm
index 9f87859..9be4549 100644
--- a/lib/MGA/Mirrors/Controller/Api.pm
+++ b/lib/MGA/Mirrors/Controller/Api.pm
@@ -54,7 +54,7 @@ sub list :Path :Args(1) {
push(@tags, 'latitude=' . $_->{latitude}) if ($_->{latitude});
push(@tags, 'longitude=' . $_->{longitude}) if ($_->{longitude});
push(@tags, 'version=' . $version);
- push(@tags, 'version=' . $arch);
+ push(@tags, 'arch=' . $arch);
push(@tags, 'type=' . 'distrib');
push(@tags, 'url=' . $_->{url}) if ($_->{url});
join(',', @tags);