summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerg Melikyan <smelikyan@mirantis.com>2013-04-23 16:43:43 +0400
committerSerg Melikyan <smelikyan@mirantis.com>2013-04-23 16:43:43 +0400
commit5b30508db3e7948ab5673722f01408e19436de1c (patch)
tree1d17fed46db37ef5c8e83a8b0a512c9cf9be71d6
parentda48d1474f9776ceb4b35f432f94af926f7a19a7 (diff)
Fix API according to New Sessions Handling designKEERO-180
-rw-r--r--glazierclient/v1/sessions.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/glazierclient/v1/sessions.py b/glazierclient/v1/sessions.py
index 2efcf7f..811bb93 100644
--- a/glazierclient/v1/sessions.py
+++ b/glazierclient/v1/sessions.py
@@ -34,10 +34,6 @@ class Status(base.Resource):
34class SessionManager(base.Manager): 34class SessionManager(base.Manager):
35 resource_class = Session 35 resource_class = Session
36 36
37 def list(self, environment_id):
38 return self._list('environments/{id}/sessions'.
39 format(id=environment_id), 'sessions')
40
41 def get(self, environment_id, session_id): 37 def get(self, environment_id, session_id):
42 return self._get('environments/{id}/sessions/{session_id}'. 38 return self._get('environments/{id}/sessions/{session_id}'.
43 format(id=environment_id, session_id=session_id)) 39 format(id=environment_id, session_id=session_id))