diff --git a/appmanage/Dockerfile b/appmanage/Dockerfile index d6cf741e..ef28a3a5 100644 --- a/appmanage/Dockerfile +++ b/appmanage/Dockerfile @@ -10,7 +10,7 @@ COPY static ./static COPY requirements.txt main.py ./ RUN apt update -# Install supervisords +# Install supervisord RUN apt install -y supervisor COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY config/cmd.sh /cmd.sh diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index 7f2f0043..4919d314 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -198,7 +198,7 @@ def check_app(app_name, customer_name, app_version): elif customer_name == None: code = const.ERROR_CLIENT_PARAM_BLANK message = "customer_name is null" - elif len(customer_name) < 2: + elif len(customer_name) < 1: code = const.ERROR_CLIENT_PARAM_BLANK message = "customer_name must be longer than 2 chars" elif app_version == None: