From cdc0ab02d5015a9a77af14863781f913aabe7d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gonz=C3=A1lez?= Date: Thu, 11 Nov 2021 12:42:40 +0100 Subject: [PATCH] M #: Fix minor bug for recovery snapshots (#1569) --- src/im_mad/remotes/kvm-probes.d/vm/snapshot/recovery.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/im_mad/remotes/kvm-probes.d/vm/snapshot/recovery.rb b/src/im_mad/remotes/kvm-probes.d/vm/snapshot/recovery.rb index 2293bc5d20..7d604e3547 100755 --- a/src/im_mad/remotes/kvm-probes.d/vm/snapshot/recovery.rb +++ b/src/im_mad/remotes/kvm-probes.d/vm/snapshot/recovery.rb @@ -24,7 +24,7 @@ def xml_elem(xml, xpath) rexml = REXML::Document.new(xml).root rexml.elements[xpath].text.to_s rescue StandardError - nil + '' end ds_loc = xml_elem(STDIN.read, 'DATASTORE_LOCATION')