diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-17 01:11:39 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 11:54:13 +0100 |
commit | 32ee4d9bb4cd7c1ef8d0e30bbd506fec33359b45 (patch) | |
tree | 594cba7cdf222665ad09fd258a3ee2d1dc664e10 | |
parent | e3a629cbad9501d8e92b7ed04f7c545583c8550b (diff) |
Infra: in dgit-repos-policy-debian, pass dgit api-query query specs with no leading /
-rwxr-xr-x | infra/dgit-repos-policy-debian | 4 |
1 files changed, 2 insertions, 2 deletions
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; |