From ee2e42cd7693206ef93191ca85cc3878e02092fc Mon Sep 17 00:00:00 2001 From: Bronson Mirafuentes Date: Tue, 4 Aug 2020 13:42:09 -0700 Subject: [PATCH] Fix typo in CNI Plugin pull command from S3 (#520) --- scripts/install-worker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-worker.sh b/scripts/install-worker.sh index 7d05c20ce..f99a4f290 100644 --- a/scripts/install-worker.sh +++ b/scripts/install-worker.sh @@ -186,8 +186,8 @@ if [ "$PULL_CNI_FROM_GITHUB" = "true" ]; then else if [[ -n "$AWS_ACCESS_KEY_ID" ]]; then echo "AWS cli present - using it to copy binaries from s3." - aws s3 cp --region "$BINARY_BUCKET_REGION $S3_PATH/${CNI_PLUGIN_FILENAME}.tgz" . - aws s3 cp --region "$BINARY_BUCKET_REGION $S3_PATH/${CNI_PLUGIN_FILENAME}.tgz.sha256" . + aws s3 cp --region $BINARY_BUCKET_REGION $S3_PATH/${CNI_PLUGIN_FILENAME}.tgz . + aws s3 cp --region $BINARY_BUCKET_REGION $S3_PATH/${CNI_PLUGIN_FILENAME}.tgz.sha256 . sudo sha256sum -c "${CNI_PLUGIN_FILENAME}.tgz.sha256" else echo "AWS cli missing - using wget to fetch cni binaries from s3. Note: This won't work for private bucket."