Merge pull request #67 from loles/fix_resource
Fix resource __repr__ function, to_dict is a function
This commit is contained in:
commit
e85826a62d
@ -44,7 +44,7 @@ class Resource(object):
|
||||
|
||||
def __repr__(self):
|
||||
return ("Resource(name='{name}', metadata={metadata}, args={args}, "
|
||||
"tags={tags})").format(**self.to_dict)
|
||||
"tags={tags})").format(**self.to_dict())
|
||||
|
||||
def to_dict(self):
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user