Skip to content

Handle datastore id mismatch #147

Handle datastore id mismatch

Handle datastore id mismatch #147

Triggered via push August 27, 2024 14:53
Status Failure
Total duration 1m 52s
Artifacts

lint.yaml

on: push
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
lint (1.21): internal/resources/datastore/resource.go#L150
no new variables on left side of :=
lint (1.21): internal/resources/datastore/resource.go#L150
cannot use datastore.GetId() (value of type *string) as string value in assignment
lint (1.21): internal/resources/datastore/resource.go#L151
invalid operation: datastoreID == nil (mismatched types string and untyped nil)
lint (1.21): internal/resources/datastore/resource.go#L160
invalid operation: cannot indirect datastoreID (variable of type string)
lint (1.21): internal/resources/datastore/resource.go#L160
undefined: IDFromState
lint (1.21): internal/resources/datastore/resource.go#L164
invalid operation: cannot indirect datastoreID (variable of type string)
lint (1.21): internal/resources/datastore/resource.go#L164
undefined: IDFromState
lint (1.21): internal/resources/datastore/resource.go#L171
invalid operation: cannot indirect datastoreID (variable of type string) (typecheck)
lint (1.21)
Process completed with exit code 2.
lint (1.21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (1.21)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/