Skip to content

fix lint error

fix lint error #16

Triggered via pull request October 21, 2023 09:42
Status Failure
Total duration 51s
Artifacts

check.yml

on: pull_request
checklinks
41s
checklinks
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
checklinks: pkg/zhmcclient/sgroup_test.go#L146
cannot use PARTITION_STATUS_STARTING (constant "starting" of type zhmcclient.PartitionStatus) as zhmcclient.StorageGroupState value in struct literal
checklinks: pkg/zhmcclient/sgroup_test.go#L147
cannot use PARTITION_TYPE_LINUX (constant "linux" of type zhmcclient.PartitionType) as string value in struct literal
checklinks: pkg/zhmcclient/sgroup_test.go#L202
cannot use PARTITION_STATUS_STARTING (constant "starting" of type zhmcclient.PartitionStatus) as zhmcclient.StorageGroupState value in struct literal
checklinks: pkg/zhmcclient/sgroup_test.go#L203
cannot use PARTITION_TYPE_LINUX (constant "linux" of type zhmcclient.PartitionType) as string value in struct literal
checklinks: pkg/zhmcclient/sgroup_test.go#L271
cannot use PARTITION_STATUS_STARTING (constant "starting" of type zhmcclient.PartitionStatus) as zhmcclient.StorageGroupState value in struct literal
checklinks: pkg/zhmcclient/sgroup_test.go#L272
cannot use PARTITION_TYPE_LINUX (constant "linux" of type zhmcclient.PartitionType) as string value in struct literal
checklinks: pkg/zhmcclient/sgroup_test.go#L146
cannot use PARTITION_STATUS_STARTING (constant "starting" of type zhmcclient.PartitionStatus) as zhmcclient.StorageGroupState value in struct literal
checklinks: pkg/zhmcclient/sgroup_test.go#L147
cannot use PARTITION_TYPE_LINUX (constant "linux" of type zhmcclient.PartitionType) as string value in struct literal
checklinks: pkg/zhmcclient/sgroup_test.go#L202
cannot use PARTITION_STATUS_STARTING (constant "starting" of type zhmcclient.PartitionStatus) as zhmcclient.StorageGroupState value in struct literal
checklinks: pkg/zhmcclient/sgroup_test.go#L203
cannot use PARTITION_TYPE_LINUX (constant "linux" of type zhmcclient.PartitionType) as string value in struct literal
checklinks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/