Skip to content

Commit

Permalink
Merge pull request #388 from Tendrl/develop
Browse files Browse the repository at this point in the history
Update ceph_installer.py
  • Loading branch information
r0h4n authored Apr 17, 2017
2 parents 2d84b51 + f8ce221 commit 4efb677
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tendrl/node_agent/provisioner/ceph/plugins/ceph_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,7 @@ def task_status(self, task_id):
# }

res_data = json.loads(resp.data.decode('utf-8'))
except (TypeError, ValueError, UnicodeError) as e:
raise Exception(
'Server response was not valid JSON: %r' % e)
return res_data
return res_data
else:
return None

Expand Down

0 comments on commit 4efb677

Please sign in to comment.