Skip to content

feat(config): accept CLOUDFLARE_* and all compatible token settings #2976

feat(config): accept CLOUDFLARE_* and all compatible token settings

feat(config): accept CLOUDFLARE_* and all compatible token settings #2976

Triggered via pull request September 27, 2024 21:00
Status Failure
Total duration 3m 7s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Test: internal/config/env_auth_test.go#L25
token1 redeclared
Test: internal/config/env_auth_test.go#L23
other declaration of token1
Test: internal/config/env_auth_test.go#L26
token2 redeclared
Test: internal/config/env_auth_test.go#L24
other declaration of token2
Test: internal/config/env_auth_test.go#L31
cannot use true (untyped bool constant) as string value in struct literal
Test: internal/config/env_auth_test.go#L31
cannot use nil as bool value in struct literal
Test: internal/config/env_auth_test.go#L31
too few values in struct literal of type struct{token1 string; token2 string; account string; ok bool; prepareMockPP func(*mocks.MockPP)}
Test: internal/config/env_auth_test.go#L33
cannot use false (untyped bool constant) as string value in struct literal
Test: internal/config/env_auth_test.go#L34
cannot use func(m *mocks.MockPP) {…} (value of type func(m *mocks.MockPP)) as bool value in struct literal
Test: internal/config/env_auth_test.go#L37
too few values in struct literal of type struct{token1 string; token2 string; account string; ok bool; prepareMockPP func(*mocks.MockPP)}