Skip to content

Fix: testdata and custom code #12

Fix: testdata and custom code

Fix: testdata and custom code #12

Triggered via pull request November 15, 2024 17:54
Status Failure
Total duration 8m 37s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
lint: internal/services/account_token/data_source_model.go#L40
undefined: accounts.TokenGetParams
lint: internal/services/account_token/data_source_model.go#L41
undefined: accounts.TokenGetParams
lint: internal/services/account_token/data_source_model.go#L48
undefined: accounts.TokenListParams
lint: internal/services/account_token/data_source_model.go#L49
undefined: accounts.TokenListParams
lint: internal/services/account_token/data_source_model.go#L54
cannot infer T (/home/runner/go/pkg/mod/github.com/cloudflare/cloudflare-go/[email protected]/field.go:13:8)
lint: internal/services/account_token/data_source_model.go#L54
undefined: accounts.TokenListParamsDirection
lint: internal/services/account_token/list_data_source_model.go#L27
undefined: accounts.TokenListParams
lint: internal/services/account_token/data_source.go#L69
d.client.Accounts.Tokens undefined (type *accounts.AccountService has no field or method Tokens)
lint: internal/services/account_token/data_source.go#L95
d.client.Accounts.Tokens undefined (type *accounts.AccountService has no field or method Tokens)
lint: internal/services/account_token/list_data_source.go#L70
d.client.Accounts.Tokens undefined (type *accounts.AccountService has no field or method Tokens)
test: internal/services/account_token/data_source_model.go#L40
undefined: accounts.TokenGetParams
test: internal/services/account_token/data_source_model.go#L41
undefined: accounts.TokenGetParams
test: internal/services/account_token/data_source_model.go#L48
undefined: accounts.TokenListParams
test: internal/services/account_token/data_source_model.go#L49
undefined: accounts.TokenListParams
test: internal/services/account_token/data_source_model.go#L54
cannot infer T (/home/runner/go/pkg/mod/github.com/cloudflare/cloudflare-go/[email protected]/field.go:13:8)
test: internal/services/account_token/data_source_model.go#L54
undefined: accounts.TokenListParamsDirection
test: internal/services/account_token/list_data_source_model.go#L27
undefined: accounts.TokenListParams
test: internal/services/account_token/data_source.go#L69
d.client.Accounts.Tokens undefined (type *accounts.AccountService has no field or method Tokens)
test: internal/services/account_token/data_source.go#L95
d.client.Accounts.Tokens undefined (type *accounts.AccountService has no field or method Tokens)
test: internal/services/account_token/list_data_source.go#L70
d.client.Accounts.Tokens undefined (type *accounts.AccountService has no field or method Tokens)