(plugin) cloud::azure::management::costs - Fix disco_* subs (#3890)

This commit is contained in:
Simon Bomm 2022-09-09 09:29:23 +02:00 committed by GitHub
parent f544fb3fc2
commit a95e3c8025
1 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ sub run {
my ($self, %options) = @_;
$self->manage_selection(%options);
foreach my $budget (@{$self->{budget}->{value}) {
foreach my $budget (@{$self->{budget}->{value}}) {
$self->{output}->output_add(
long_msg => sprintf("[budget = %s][category = %s][amount = %s][timegrain = %s][id = %s]",
$budget->{name}, $budget->{properties}->{category}, $budget->{properties}->{amount}, $budget->{properties}->{timeGrain}, $budget->{id})
@ -77,7 +77,7 @@ sub disco_show {
my ($self, %options) = @_;
$self->manage_selection(%options);
foreach my $budget (@{$self->{budget}->value}) {
foreach my $budget (@{$self->{budget}->{value}}) {
$self->{output}->add_disco_entry(
name => $budget->{name},
category => $budget->{properties}->{category},
@ -100,4 +100,4 @@ List Azure budgets.
=back
=cut
=cut