Skip to content

test(zone): fix data source examples #10

test(zone): fix data source examples

test(zone): fix data source examples #10

Triggered via pull request November 15, 2024 02:44
Status Failure
Total duration 8m 6s
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)