Skip to content

Commit

Permalink
Merge pull request #67 from shtripat/patch-3
Browse files Browse the repository at this point in the history
Update manager.py
  • Loading branch information
r0h4n committed Nov 23, 2016
2 parents 8a9124e + a9c47da commit 4d0eec9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tendrl/gluster_integration/manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ def _run(self):
'get-state',
'glusterd',
'odir',
'/tmp',
'/var/run',
'file',
'glusterd-state'
]
)
raw_data = ini2json.ini_to_dict('/tmp/glusterd-state')
subprocess.call(['rm', '-rf', '/tmp/glusterd-state'])
raw_data = ini2json.ini_to_dict('/var/run/glusterd-state')
subprocess.call(['rm', '-rf', '/var/run/glusterd-state'])
self._manager.on_pull(raw_data, self.cluster_id)
except Exception as ex:
LOG.error(ex)
Expand Down

0 comments on commit 4d0eec9

Please sign in to comment.