Merge pull request #2414 from centreon/fix(plugin)fix-bugs-unisphere-replication

+ fix resources.pm replications.pm emc unisphere restapi
This commit is contained in:
qgarnier 2020-12-07 15:12:59 +01:00 committed by GitHub
commit f79ea4baa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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