+ fix resources.pm replications.pm emc unisphere restapi

This commit is contained in:
Sims24 2020-12-07 15:09:54 +01:00
parent e113338060
commit 3776139cb8
2 changed files with 2 additions and 2 deletions

View File

@ -51,6 +51,6 @@ $replication_status = {
103 => 'consistent', 103 => 'consistent',
104 => 'syncing', 104 => 'syncing',
105 => 'inconsistent' 105 => 'inconsistent'
} };
1; 1;

View File

@ -110,7 +110,7 @@ sub manage_selection {
$self->{replication}->{ $_->{content}->{id} } = { $self->{replication}->{ $_->{content}->{id} } = {
display => $_->{content}->{name}, display => $_->{content}->{name},
health_status => $health_status->{ $_->{content}->{health}->{value} }, health_status => $health_status->{ $_->{content}->{health}->{value} },
repl_status => $replication_status->{ $_->{content}->{syncState} } }, repl_status => $replication_status->{ $_->{content}->{syncState} },
}; };
} }