Fix tabbed indentation in network/haproxy.py

This commit is contained in:
Matt Martz 2015-12-22 15:37:41 -06:00 committed by Matt Clay
parent 7f42dda976
commit 8c14013b95

View file

@ -312,9 +312,9 @@ class HAProxy(object):
Figure out what you want to do from ansible, and then do it.
"""
self.get_current_state(self.host, self.backend)
self.previous_states = ','.join(self.status_server)
self.previous_weights = ','.join(self.status_weight)
self.get_current_state(self.host, self.backend)
self.previous_states = ','.join(self.status_server)
self.previous_weights = ','.join(self.status_weight)
# toggle enable/disbale server
if self.state == 'enabled':