Skip to content

Commit

Permalink
Fix issues for python3.7 (google#3274)
Browse files Browse the repository at this point in the history
  • Loading branch information
hogo6002 authored Aug 9, 2023
1 parent 0c8ade2 commit 8583e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion local/run_docker.bash
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ else
CONFIG_DIR_OVERRIDE="/config"
fi

sudo docker run -e COMMAND_OVERRIDE="$COMMAND_OVERRIDE" -e HOST_UID=$UID o\
sudo docker run -e COMMAND_OVERRIDE="$COMMAND_OVERRIDE" -e HOST_UID=$UID \
-e LOCAL_METADATA_SERVER=$docker_ip -e LOCAL_METADATA_PORT=8080 \
$MOUNT_ARGS \
-e LOCAL_SRC=$LOCAL_SRC \
Expand Down
2 changes: 1 addition & 1 deletion src/infra/k8s/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
imagePullPolicy: Always
env:
- name: RUN_CMD
value: "python3 $ROOT_DIR/src/python/bot/startup/run_cron.py backup"
value: "python3.7 $ROOT_DIR/src/python/bot/startup/run_cron.py backup"
- name: IS_K8S_ENV
value: "true"
- name: DISABLE_MOUNTS
Expand Down

0 comments on commit 8583e8f

Please sign in to comment.