Merge "AttributeError when print service object"

This commit is contained in:
Jenkins
2016-09-28 20:03:20 +00:00
committed by Gerrit Code Review

View File

@@ -23,7 +23,7 @@ from cinderclient import base
class Service(base.Resource):
def __repr__(self):
return "<Service: %s>" % self.service
return "<Service: binary=%s host=%s>" % (self.binary, self.host)
class ServiceManager(base.ManagerWithFind):