Create the API Definitions as Structs in the API Component #3
Annotations
7 errors and 1 warning
Lint:
internal/api/hcpopenshiftcluster.go#L40
structtag: struct field tag `json:"externalAuth,omitempty visibility:"read,create"` not compatible with reflect.StructTag.Get: suspicious space in struct tag value (govet)
|
Lint:
internal/api/hcpopenshiftcluster.go#L47
structtag: struct field tag `json:channelGroup,omitempty visibility:"read,create"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
|
Lint:
internal/api/hcpopenshiftcluster.go#L48
structtag: struct field tag `json:availableUpgrades,omitempty visibility:"read"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
|
Lint:
internal/api/v20240610preview/hcpopenshiftcluster.go#L38
structtag: struct field tag `json:"externalAuth,omitempty visibility:"read,create"` not compatible with reflect.StructTag.Get: suspicious space in struct tag value (govet)
|
Lint:
internal/api/v20240610preview/hcpopenshiftcluster.go#L45
structtag: struct field tag `json:channelGroup,omitempty visibility:"read,create"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
|
Lint:
internal/api/v20240610preview/hcpopenshiftcluster.go#L46
structtag: struct field tag `json:availableUpgrades,omitempty visibility:"read"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
|
Lint
issues found
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/ARO-HCP/ARO-HCP. Supported file pattern: go.sum
|
Loading