From 9315323c227263eadddc5687783fa71f191a3753 Mon Sep 17 00:00:00 2001 From: "Papoyan, Nerses" Date: Fri, 11 Sep 2015 14:32:50 -0500 Subject: [PATCH] removed trailing white-spaces --- salt/states/zenoss.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salt/states/zenoss.py b/salt/states/zenoss.py index 0649d04abc..ada3f6b6a5 100644 --- a/salt/states/zenoss.py +++ b/salt/states/zenoss.py @@ -54,14 +54,14 @@ def monitored(name, device_class=None, collector='localhost', prod_state=None): ret['result'] = True ret['changes'] = None ret['comment'] = '{0} is already monitored'.format(name) - - # if prod_state is set, ensure it matches with the current state + + # if prod_state is set, ensure it matches with the current state if prod_state: if device['productionState'] != prod_state: __salt__['zenoss.set_prod_state'](prod_state, name) ret['changes'] = {'old': 'prodState == {0}'.format(device['productionState']), 'new':'prodState == {0}'.format(prod_state)} ret['comment'] = '{0} is already monitored but prodState was incorrect, setting to Production'.format(name) - + return ret if __opts__['test']: