Skip to content

Commit 94d714d

Browse files
author
Gabriel Monroy
committed
fix variable naming to be clear about app vs. formation
1 parent 3b45465 commit 94d714d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

client/deis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,11 +399,11 @@ def apps_create(self, args):
399399
progress.join()
400400
if response.status_code == requests.codes.created: # @UndefinedVariable
401401
data = response.json()
402-
formation = data['id']
403-
print("done, created {}".format(formation))
402+
app_id = data['id']
403+
print("done, created {}".format(app_id))
404404
# add a git remote
405405
hostname = urlparse.urlparse(self._settings['controller']).netloc
406-
git_remote = "git@{hostname}:{formation}.git".format(**locals())
406+
git_remote = "git@{hostname}:{app_id}.git".format(**locals())
407407
try:
408408
subprocess.check_call(
409409
['git', 'remote', 'add', '-f', 'deis', git_remote],

0 commit comments

Comments
 (0)