Merge "AttributeError when print service object"
This commit is contained in:
@@ -23,7 +23,7 @@ from cinderclient import base
|
|||||||
class Service(base.Resource):
|
class Service(base.Resource):
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<Service: %s>" % self.service
|
return "<Service: binary=%s host=%s>" % (self.binary, self.host)
|
||||||
|
|
||||||
|
|
||||||
class ServiceManager(base.ManagerWithFind):
|
class ServiceManager(base.ManagerWithFind):
|
||||||
|
|||||||
Reference in New Issue
Block a user