Skip to content

add configs to disable imdsv1 fallback #1527

add configs to disable imdsv1 fallback

add configs to disable imdsv1 fallback #1527

Triggered via pull request November 2, 2023 04:40
Status Failure
Total duration 15m 43s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint (1.20.x, ubuntu-latest): internal/shareddefaults/shared_config.go#L35
Error return value of `os.UserHomeDir` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/shareddefaults/shared_config.go#L41
Error return value of `user.Current` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): aws/signer/internal/v4/util_test.go#L60
Error return value of `http.NewRequest` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/awsutil/path_value.go#L48
Error return value of `strconv.ParseInt` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/shareddefaults/shared_config_other_test.go#L19
Error return value of `os.Setenv` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/shareddefaults/shared_config_other_test.go#L20
Error return value of `os.Setenv` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/shareddefaults/shared_config_other_test.go#L34
Error return value of `os.Setenv` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): aws/credential_cache_test.go#L117
Error return value of `p.Retrieve` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): aws/credential_cache_test.go#L118
Error return value of `p.Retrieve` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): aws/credential_cache_test.go#L119
Error return value of `p.Retrieve` is not checked (errcheck)
lint (1.20.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (1.20.x, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (1.20.x, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/