refactor: introduce type resource.ID #2452
Annotations
10 errors and 2 warnings
internal/configversion/db.go#L165
cannot use result.ConfigurationVersionID.String (variable of type string) as resource.ID value in struct literal
|
internal/configversion/db.go#L172
cannot use result.WorkspaceID.String (variable of type string) as resource.ID value in struct literal
|
internal/configversion/service.go#L53
cannot use &svc (value of type *Service) as tfeClient value in struct literal: *Service does not implement tfeClient (wrong type for method DownloadConfig)
|
internal/configversion/test_helpers.go#L18
cannot use "created" (untyped string constant) as resource.ID value in struct literal
|
internal/configversion/tfe.go#L79
cannot use workspaceID (variable of type string) as resource.ID value in argument to a.Create
|
internal/configversion/tfe.go#L108
cannot use id (variable of type string) as resource.ID value in argument to a.Get
|
internal/configversion/tfe.go#L128
cannot use params.WorkspaceID (variable of type string) as resource.ID value in argument to a.List
|
internal/configversion/tfe.go#L205
cannot use id.String() (value of type string) as resource.ID value in argument to a.Get
|
internal/configversion/tfe.go#L222
cannot use tfeCV.ID (variable of type string) as resource.ID value in argument to a.Get
|
internal/configversion/tfe.go#L227
cannot use resource.ConvertID(cv.ID, "ia") (value of type resource.ID) as string value in struct literal
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
The logs for this run have expired and are no longer available.
Loading