From 2eee2cd999889d105395621eb1f22103ca6f51c5 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Wed, 9 Jan 2013 04:56:32 -0800 Subject: [PATCH] plugins: Fix getPropertiesFiles() for pluggable service plugins, CiscoNexusVSMEElement Signed-off-by: Rohit Yadav --- .../apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java | 4 ++-- .../src/com/cloud/network/element/CiscoNexusVSMElement.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java index ca57df5d314..5363e559a5f 100644 --- a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java +++ b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java @@ -139,6 +139,6 @@ public class ApiDiscoveryServiceImpl extends AdapterBase implements ApiDiscovery @Override public String[] getPropertiesFiles() { - return new String[]{"api-discovery_commands.properties"}; + return new String[] { "api-discovery_commands.properties" }; } -} \ No newline at end of file +} diff --git a/plugins/hypervisors/vmware/src/com/cloud/network/element/CiscoNexusVSMElement.java b/plugins/hypervisors/vmware/src/com/cloud/network/element/CiscoNexusVSMElement.java index b9567dc8475..911078eac50 100644 --- a/plugins/hypervisors/vmware/src/com/cloud/network/element/CiscoNexusVSMElement.java +++ b/plugins/hypervisors/vmware/src/com/cloud/network/element/CiscoNexusVSMElement.java @@ -237,7 +237,7 @@ public class CiscoNexusVSMElement extends CiscoNexusVSMDeviceManagerImpl impleme } @Override - public String getPropertiesFile() { - return "cisconexusvsm_commands.properties"; + public String[] getPropertiesFiles() { + return new String[] { "cisconexusvsm_commands.properties" }; } }