From 3776139cb856192dbabb63719604e037d326f5f0 Mon Sep 17 00:00:00 2001 From: Sims24 Date: Mon, 7 Dec 2020 15:09:54 +0100 Subject: [PATCH] + fix resources.pm replications.pm emc unisphere restapi --- storage/emc/unisphere/restapi/mode/components/resources.pm | 2 +- storage/emc/unisphere/restapi/mode/replications.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/emc/unisphere/restapi/mode/components/resources.pm b/storage/emc/unisphere/restapi/mode/components/resources.pm index a282e408d..ba8ffa422 100644 --- a/storage/emc/unisphere/restapi/mode/components/resources.pm +++ b/storage/emc/unisphere/restapi/mode/components/resources.pm @@ -51,6 +51,6 @@ $replication_status = { 103 => 'consistent', 104 => 'syncing', 105 => 'inconsistent' -} +}; 1; diff --git a/storage/emc/unisphere/restapi/mode/replications.pm b/storage/emc/unisphere/restapi/mode/replications.pm index 4a2234531..5d7ca4949 100644 --- a/storage/emc/unisphere/restapi/mode/replications.pm +++ b/storage/emc/unisphere/restapi/mode/replications.pm @@ -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} }, }; }