We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 101c88b commit 1dcf378Copy full SHA for 1dcf378
1 file changed
client/deis.py
@@ -410,25 +410,6 @@ def apps(self, args):
410
"""
411
return self.apps_list(args)
412
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
432
def apps_create(self, args):
433
434
Create a new application
0 commit comments