Skip to content

Commit

Permalink
hack/update-expected: exclude DIGITALOCEAN_ACCESS_TOKEN
Browse files Browse the repository at this point in the history
We don't want this env var (which contains the user's digitalocean
access token) to get into the expected output.
  • Loading branch information
justinsb committed May 4, 2023
1 parent c7b5e70 commit 453e99a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/update-expected.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ unset KOPS_CLUSTER_NAME KOPS_RUN_OBSOLETE_VERSION KOPS_STATE_STORE KOPS_STATE_S3
unset SKIP_REGION_CHECK S3_ACCESS_KEY_ID S3_ENDPOINT S3_REGION S3_SECRET_ACCESS_KEY
unset SCW_ACCESS_KEY SCW_SECRET_KEY SCW_DEFAULT_PROJECT_ID SCW_PROFILE
unset AZURE_CLIENT_ID AZURE_CLIENT_SECRET AZURE_STORAGE_ACCOUNT AZURE_STORAGE_KEY AZURE_SUBSCRIPTION_ID AZURE_TENANT_ID
unset DIGITALOCEAN_ACCESS_TOKEN

# Run the tests in "autofix mode"
HACK_UPDATE_EXPECTED_IN_PLACE=1 go test "${PKG}" -count=1

0 comments on commit 453e99a

Please sign in to comment.