Revert "Fix: Add missing storage tiers to pi_instances and fix product family value to match db" #612
Triggered via pull request
September 19, 2024 23:42
Status
Failure
Total duration
1m 38s
Artifacts
–
go.yml
on: pull_request
Build
1m 29s
Integration tests (AWS)
0s
Integration tests (Google)
0s
Integration tests (Azure)
0s
Annotations
10 errors
Build:
internal/apiclient/auth.go#L79
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
Build:
internal/apiclient/usage.go#L77
G402: TLS InsecureSkipVerify may be true. (gosec)
|
Build:
internal/apiclient/auth.go#L68
S1000: should use for range instead of for { select {} } (gosimple)
|
Build:
internal/apiclient/auth.go#L69
S1037: should use time.Sleep instead of elaborate way of sleeping (gosimple)
|
Build:
internal/apiclient/client.go#L99
printf: non-constant format string in call to fmt.Errorf (govet)
|
Build:
internal/config/config_test.go#L109
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Build:
internal/hcl/parser_test.go#L739
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Build:
internal/hcl/parser_test.go#L767
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Build:
internal/hcl/parser.go#L201
field `credentialsSource` is unused (unused)
|
Build:
internal/hcl/parser_test.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|