From 32ee4d9bb4cd7c1ef8d0e30bbd506fec33359b45 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 May 2015 01:11:39 +0100 Subject: Infra: in dgit-repos-policy-debian, pass dgit api-query query specs with no leading / --- infra/dgit-repos-policy-debian | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'infra') diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian index 8a10536..cf0ac2e 100755 --- a/infra/dgit-repos-policy-debian +++ b/infra/dgit-repos-policy-debian @@ -98,7 +98,7 @@ sub apiquery ($) { sub specific_suite_has_vsn_in_our_history ($) { my ($suite) = @_; - my $in_suite = apiquery "/dsc_in_suite/$suite/$pkg"; + my $in_suite = apiquery "dsc_in_suite/$suite/$pkg"; foreach my $entry (@$in_suite) { my $vsn = $entry->{version}; die "$pkg ?" unless defined $vsn; @@ -116,7 +116,7 @@ sub new_has_vsn_in_our_history () { } sub good_suite_has_vsn_in_our_history () { - my $suites = apiquery "/suites"; + my $suites = apiquery "suites"; foreach my $suitei (@$suites) { my $suite = $suitei->{name}; die unless defined $suite; -- cgit v1.2.3