From 29724f40e5b7c084dc013bc1c711236b22060f4b Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Wed, 1 Feb 2017 14:47:13 +0100 Subject: [PATCH] Revert "Show free space in windows agent - #31" This reverts commit 1ecf471ab87d1ff09a043627b60800e634ef51db. (cherry picked from commit 937489a88d433e4050704f3bc3bc8195142f468a) --- pandora_agents/win32/modules/pandora_module_freedisk_percent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_agents/win32/modules/pandora_module_freedisk_percent.cc b/pandora_agents/win32/modules/pandora_module_freedisk_percent.cc index ef9327e21f..40a132fcef 100755 --- a/pandora_agents/win32/modules/pandora_module_freedisk_percent.cc +++ b/pandora_agents/win32/modules/pandora_module_freedisk_percent.cc @@ -58,7 +58,7 @@ Pandora_Module_Freedisk_Percent::run () { try { res = Pandora_Wmi::getDiskFreeSpacePercent (this->disk_id); - this->setDescription(longtostr (Pandora_Wmi::getDiskFreeSpace ())); + this->setOutput (longtostr (res)); } catch (Pandora_Wmi::Pandora_Wmi_Exception e) { this->has_output = false;