diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/config_generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/config_generator.py b/plugins/config_generator.py index 1f0be4e..a6757df 100644 --- a/plugins/config_generator.py +++ b/plugins/config_generator.py @@ -140,7 +140,7 @@ class GlusterNagiosConfManager: hostsConfigs = [] clusterServices = self.createrVolumeServices( cluster.get('volumes'), cluster['name']) - # If there are volumes, then create a cluster utilization service at cluster level + # If there are volumes, then create a cluster utilization service if cluster.get('volumes'): clusterServices.append(self.createClusterUtilizationService( cluster['name'])) |