From 5684fc0056cd430efe631f69f9f1cb51068468cd Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 1 Dec 2020 11:00:53 +0100 Subject: [PATCH] fix synology upgrade --- storage/synology/snmp/mode/upgrade.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/synology/snmp/mode/upgrade.pm b/storage/synology/snmp/mode/upgrade.pm index 65f532afd..5a5b40eba 100644 --- a/storage/synology/snmp/mode/upgrade.pm +++ b/storage/synology/snmp/mode/upgrade.pm @@ -51,7 +51,7 @@ sub custom_status_output { return sprintf( "'%s': version is '%s', upgrade is '%s'", - $options{instance_value}->{model}, + $self->{result_values}->{model}, $self->{result_values}->{version}, $self->{result_values}->{upgrade} );