From 917c0284f2d48f17a5be79d64978281687552e21 Mon Sep 17 00:00:00 2001 From: Ramesh Nachimuthu Date: Wed, 9 Apr 2014 15:07:27 +0530 Subject: autoconf: fix for pep8 error Fixing the pep8 error Change-Id: I437a7dc1502c19b3ab90ad5b8c8cb1862b9ba359 Signed-off-by: Ramesh Nachimuthu --- plugins/config_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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'])) -- cgit