feat: add database and database status resource #21
Annotations
11 errors
|
Run linters:
fptcloud/dfke/resource_dfke.go#L518
`shrinked` is a misspelling of `shrunk` (misspell)
|
Run linters:
fptcloud/dfke/resource_dfke.go#L551
`shrinked` is a misspelling of `shrunk` (misspell)
|
Run linters:
fptcloud/edge_gateway/datasource_edge_gateway.go#L126
`(*datasourceEdgeGateway).internalRead` - `ctx` is unused (unparam)
|
Run linters:
fptcloud/dfke/datasource_dfke.go#L276
`(*datasourceDedicatedKubernetesEngine).findClusterUUID` - `ctx` is unused (unparam)
|
Run linters:
fptcloud/dfke/resource_dfke_state.go#L152
(*resourceDedicatedKubernetesEngineState).internalRead - result 0 (*terraform-provider-fptcloud/fptcloud/dfke.dedicatedKubernetesEngineReadResponse) is never used (unparam)
|
Run linters:
fptcloud/dfke/resource_dfke.go#L463
S1002: should omit comparison to bool constant, can be simplified to `e2` (gosimple)
|
Run linters:
fptcloud/dfke/resource_dfke_state.go#L169
S1002: should omit comparison to bool constant, can be simplified to `!data.IsRunning` (gosimple)
|
Run linters:
fptcloud/dfke/resource_dfke_state.go#L173
S1002: should omit comparison to bool constant, can be simplified to `data.IsRunning` (gosimple)
|
Run linters:
fptcloud/database/resource_database_status.go#L133
S1023: redundant `return` statement (gosimple)
|
Run linters:
fptcloud/database/resource_database.go#L364
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
|
Loading