Fix Access app domain and self_hosted_domains import #4680
lint.yml
on: pull_request
golangci-lint
2m 3s
Matrix: tfproviderlint
Annotations
20 errors and 2 warnings
golangci-lint:
main.go#L9
could not import github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider (-: # github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider
|
golangci-lint:
internal/sdkv2provider/resource_cloudflare_access_application.go#L91
newAccessApplication.SelfHostedDomains undefined (type cloudflare.CreateAccessApplicationParams has no field or method SelfHostedDomains)
|
golangci-lint:
internal/sdkv2provider/resource_cloudflare_access_application.go#L265
accessApplication.SelfHostedDomains undefined (type cloudflare.AccessApplication has no field or method SelfHostedDomains)
|
golangci-lint:
internal/sdkv2provider/resource_cloudflare_access_application.go#L327
updatedAccessApplication.SelfHostedDomains undefined (type cloudflare.UpdateAccessApplicationParams has no field or method SelfHostedDomains)
|
golangci-lint:
internal/sdkv2provider/resource_cloudflare_authenticated_origin_pulls.go#L51
cannot use isEnabled (variable of type bool) as *bool value in struct literal
|
golangci-lint:
internal/sdkv2provider/resource_cloudflare_authenticated_origin_pulls.go#L126
cannot use false (untyped bool constant) as *bool value in struct literal) (typecheck)
|
golangci-lint:
internal/acctest/acctest.go#L13
could not import github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider (-: # github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider
|
golangci-lint:
internal/sdkv2provider/resource_cloudflare_access_application.go#L91
newAccessApplication.SelfHostedDomains undefined (type cloudflare.CreateAccessApplicationParams has no field or method SelfHostedDomains)
|
golangci-lint:
internal/sdkv2provider/resource_cloudflare_access_application.go#L265
accessApplication.SelfHostedDomains undefined (type cloudflare.AccessApplication has no field or method SelfHostedDomains)
|
golangci-lint:
internal/sdkv2provider/resource_cloudflare_access_application.go#L327
updatedAccessApplication.SelfHostedDomains undefined (type cloudflare.UpdateAccessApplicationParams has no field or method SelfHostedDomains)
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_access_application.go#L91
newAccessApplication.SelfHostedDomains undefined (type cloudflare.CreateAccessApplicationParams has no field or method SelfHostedDomains)
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_access_application.go#L265
accessApplication.SelfHostedDomains undefined (type cloudflare.AccessApplication has no field or method SelfHostedDomains)
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_access_application.go#L327
updatedAccessApplication.SelfHostedDomains undefined (type cloudflare.UpdateAccessApplicationParams has no field or method SelfHostedDomains)
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_authenticated_origin_pulls.go#L51
cannot use isEnabled (variable of type bool) as *bool value in struct literal
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_authenticated_origin_pulls.go#L126
cannot use false (untyped bool constant) as *bool value in struct literal
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_access_application.go#L91
newAccessApplication.SelfHostedDomains undefined (type cloudflare.CreateAccessApplicationParams has no field or method SelfHostedDomains)
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_access_application.go#L265
accessApplication.SelfHostedDomains undefined (type cloudflare.AccessApplication has no field or method SelfHostedDomains)
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_access_application.go#L327
updatedAccessApplication.SelfHostedDomains undefined (type cloudflare.UpdateAccessApplicationParams has no field or method SelfHostedDomains)
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_authenticated_origin_pulls.go#L51
cannot use isEnabled (variable of type bool) as *bool value in struct literal
|
tfproviderlint (ubuntu-latest):
internal/sdkv2provider/resource_cloudflare_authenticated_origin_pulls.go#L126
cannot use false (untyped bool constant) as *bool value in struct literal
|
golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
tfproviderlint (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|