Fix app name in case an url is provided (otherwise it tries to create a file with https://... in the name)

This commit is contained in:
Alexandre Aubin 2018-07-21 16:26:27 +00:00
parent b2d07d1c6e
commit d328864a43

View file

@ -753,6 +753,8 @@ def app_install(uo, auth, app, label=None, args=None, no_remove_on_failure=False
# Start register change on system # Start register change on system
uo.extra.update({'env':env_dict}) uo.extra.update({'env':env_dict})
uo.related_to = [s for s in uo.related_to if s[0] != "app"]
uo.related_to.append(("app", app_id))
uo.start() uo.start()
# Create app directory # Create app directory