(plugin) cloud::azure::database::sqldatabase::plugin - fix health resource type (#4133)

This commit is contained in:
Stéphane Duret 2023-01-11 14:36:20 +01:00 committed by Kevin Duret
parent 9e13a36b3a
commit 37c265fa0f
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ sub check_options {
my ($self, %options) = @_;
$self->SUPER::check_options(%options);
$self->{az_resource_namespace} = 'Microsoft.Sql';
$self->{az_resource_type} = 'servers/databases';
$self->{az_resource_namespace} = 'Microsoft.Sql' if (!defined($self->{az_resource_namespace}) || $self->{az_resource_namespace} eq '');
$self->{az_resource_type} = 'servers/databases' if (!defined($self->{az_resource_type}) || $self->{az_resource_type} eq '');
}
1;