mirror of
https://github.com/runcitadel/core.git
synced 2024-11-12 00:39:53 +00:00
Mark 0.1.5 as removal version for app.yml v2 and v3
This commit is contained in:
parent
33b06241a9
commit
066f2c7f9e
|
@ -236,10 +236,10 @@ def getApp(app, appId: str):
|
|||
app["metadata"]["id"] = appId
|
||||
|
||||
if 'version' in app and str(app['version']) == "2":
|
||||
print("Warning: App {} uses version 2 of the app.yml format, which is scheduled for removal in Citadel 0.2.0".format(appId))
|
||||
print("Warning: App {} uses version 2 of the app.yml format, which is scheduled for removal in Citadel 0.1.5".format(appId))
|
||||
return createComposeConfigFromV2(app, nodeRoot)
|
||||
elif 'version' in app and str(app['version']) == "3":
|
||||
print("Warning: App {} uses version 3 of the app.yml format, which is scheduled for removal in Citadel 0.3.0".format(appId))
|
||||
print("Warning: App {} uses version 3 of the app.yml format, which is scheduled for removal in Citadel 0.1.5".format(appId))
|
||||
return createComposeConfigFromV3(app, nodeRoot)
|
||||
else:
|
||||
raise Exception("Error: Unsupported version of app.yml")
|
||||
|
|
Loading…
Reference in New Issue
Block a user