Skip to content

Commit

Permalink
productcompose: fix milestone query
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed May 22, 2024
1 parent 86c4c66 commit 2a215d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Build/ProductCompose.pm
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ sub parse {
}

sub show {
my ($fn, $field) = @ARGV;
my $cf = {};
my ($fn, $field, $arch, $buildflavor) = @ARGV;
my $cf = {'arch' => $arch};
$cf->{'buildflavor'} = $buildflavor if defined $buildflavor;
my $d = parse($cf, $fn);
die "$d->{error}\n" if $d->{error};
my $value = $d->{ $field };
Expand Down

0 comments on commit 2a215d8

Please sign in to comment.