Skip to content

Commit 1dcf378

Browse files
author
Matthew Fisher
committed
chore(client): remove apps:calculate
this endpoint no longer exists.
1 parent 101c88b commit 1dcf378

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

client/deis.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -410,25 +410,6 @@ def apps(self, args):
410410
"""
411411
return self.apps_list(args)
412412

413-
def apps_calculate(self, args, quiet=False):
414-
"""
415-
Calculate the application's JSON representation
416-
417-
Usage: deis apps:calculate [--app=<app>]
418-
"""
419-
app = args.get('--app')
420-
if not app:
421-
app = self._session.app
422-
response = self._dispatch('post',
423-
"/api/apps/{}/calculate".format(app))
424-
if response.status_code == requests.codes.ok: # @UndefinedVariable
425-
databag = json.loads(response.content)
426-
if quiet is False:
427-
print(json.dumps(databag, indent=2))
428-
return databag
429-
else:
430-
raise ResponseError(response)
431-
432413
def apps_create(self, args):
433414
"""
434415
Create a new application

0 commit comments

Comments
 (0)