From 055fbdfdd6fec07514e4751b03e723751a2db7f6 Mon Sep 17 00:00:00 2001 From: nailixing Date: Sun, 17 May 2020 17:56:17 +0800 Subject: [PATCH] Solve a bug --- scripts/kubernetes/create_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kubernetes/create_config.py b/scripts/kubernetes/create_config.py index 9cbfce1f..b7f59b44 100644 --- a/scripts/kubernetes/create_config.py +++ b/scripts/kubernetes/create_config.py @@ -310,7 +310,7 @@ else: container.setdefault('volumeMounts', [{'name': 'work-path', 'mountPath': '{}/{}'.format(DOCKER_WORKDIR_PATH, DATA_DIR_PATH)}, \ {'name': 'param-path', 'mountPath': '{}/{}'.format(DOCKER_WORKDIR_PATH, PARAMS_DIR_PATH)}, \ - {'name': 'log-path', 'mountPath': '{}/{}'.foramt(DOCKER_WORKDIR_PATH, LOGS_DIR_PATH)}, \ + {'name': 'log-path', 'mountPath': '{}/{}'.format(DOCKER_WORKDIR_PATH, LOGS_DIR_PATH)}, \ {'name': ADMIN_HOST, 'mountPath': '/var/run/docker.sock'}]) template.setdefault('spec', {'containers': [container], 'volumes': [{'name': 'work-path', 'hostPath': {'path': '{}/{}'.format(HOST_WORKDIR_PATH, DATA_DIR_PATH)}}, \ {'name': 'param-path', 'hostPath': {'path': '{}/{}'.format(HOST_WORKDIR_PATH, PARAMS_DIR_PATH)}}, \