Update manage.py

This commit is contained in:
qiaofeng1227 2023-05-16 09:26:30 +08:00 committed by GitHub
parent 5ed32b2bb6
commit 69869b60ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,6 +183,9 @@ def check_app(app_name, customer_name, app_version):
elif app_version == None:
code = const.ERROR_CLIENT_PARAM_BLANK
message = "app_version is null"
elif app_version == "undefined" or app_version == "":
code = const.ERROR_CLIENT_PARAM_BLANK
message = "app_version is null"
elif not docker.check_app_websoft9(app_name):
code = const.ERROR_CLIENT_PARAM_NOTEXIST
message = "It is not support to install " + app_name