From b3ae316aa523d452d7cc0342a9737661fc3915dd Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 21 Mar 2011 22:35:17 +0000 Subject: fix arch key in mirrors API output --- lib/MGA/Mirrors/Controller/Api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1