mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 15:40:22 +00:00
delete failedcontainer
This commit is contained in:
parent
99dcc86a25
commit
0b2130fc36
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ COPY static ./static
|
||||||
COPY requirements.txt main.py ./
|
COPY requirements.txt main.py ./
|
||||||
RUN apt update
|
RUN apt update
|
||||||
|
|
||||||
# Install supervisords
|
# Install supervisord
|
||||||
RUN apt install -y supervisor
|
RUN apt install -y supervisor
|
||||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||||
COPY config/cmd.sh /cmd.sh
|
COPY config/cmd.sh /cmd.sh
|
||||||
|
|
|
@ -198,7 +198,7 @@ def check_app(app_name, customer_name, app_version):
|
||||||
elif customer_name == None:
|
elif customer_name == None:
|
||||||
code = const.ERROR_CLIENT_PARAM_BLANK
|
code = const.ERROR_CLIENT_PARAM_BLANK
|
||||||
message = "customer_name is null"
|
message = "customer_name is null"
|
||||||
elif len(customer_name) < 2:
|
elif len(customer_name) < 1:
|
||||||
code = const.ERROR_CLIENT_PARAM_BLANK
|
code = const.ERROR_CLIENT_PARAM_BLANK
|
||||||
message = "customer_name must be longer than 2 chars"
|
message = "customer_name must be longer than 2 chars"
|
||||||
elif app_version == None:
|
elif app_version == None:
|
||||||
|
|
Loading…
Reference in a new issue