Skip to content

Commit

Permalink
client: rename managers
Browse files Browse the repository at this point in the history
replacing object.ObjectManager by object.Manager
  • Loading branch information
andrewsmedina committed Nov 17, 2015
1 parent 8d11129 commit fcc1476
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tsuruclient/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import requests


class AppManager(object):
class Manager(object):
"""
Manage App resources.
"""
Expand Down
6 changes: 3 additions & 3 deletions tsuruclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

class Client(object):
def __init__(self, target):
self.apps = apps.AppManager(target)
self.nodes = nodes.NodeManager(target)
self.templates = templates.TemplateManager(target)
self.apps = apps.Manager(target)
self.nodes = nodes.Manager(target)
self.templates = templates.Manager(target)
2 changes: 1 addition & 1 deletion tsuruclient/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import requests


class NodeManager(object):
class Manager(object):
"""
Manage Node resources.
"""
Expand Down
2 changes: 1 addition & 1 deletion tsuruclient/templates.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import requests


class TemplateManager(object):
class Manager(object):
"""
Manage Iaas Template resources.
"""
Expand Down

0 comments on commit fcc1476

Please sign in to comment.