Skip to content

Commit

Permalink
Solve a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nailixing committed May 17, 2020
1 parent 56fba44 commit 055fbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kubernetes/create_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}}, \
Expand Down

0 comments on commit 055fbdf

Please sign in to comment.