hack/update-expected: exclude DIGITALOCEAN_ACCESS_TOKEN

We don't want this env var (which contains the user's digitalocean
access token) to get into the expected output.
This commit is contained in:
justinsb 2023-05-04 07:49:21 -04:00
parent c7b5e706ce
commit 453e99a4eb
1 changed files with 1 additions and 0 deletions

View File

@ -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