Skip to content

Commit

Permalink
Fix typo in CNI Plugin pull command from S3 (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronson Mirafuentes authored Aug 4, 2020
1 parent 5593de8 commit ee2e42c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit ee2e42c

Please sign in to comment.