fix(emr): [121986131]add emr resource #5146
Triggered via pull request
February 24, 2025 02:50
Status
Failure
Total duration
1h 24m 20s
Artifacts
–
golangci-lint.yml
on: pull_request
golangci-lint
1h 24m
Annotations
5 errors and 1 warning
golangci-lint:
tencentcloud/services/emr/resource_tc_emr_deploy_yarn_operation.go#L40
S1021: should merge variable declaration with assignment on next line (gosimple)
|
golangci-lint:
tencentcloud/services/emr/resource_tc_emr_yarn.go#L143
S1021: should merge variable declaration with assignment on next line (gosimple)
|
golangci-lint:
tencentcloud/services/emr/data_source_tc_emr_job_status_detail.go#L221
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
golangci-lint:
tencentcloud/services/emr/data_source_tc_emr_service_node_infos.go#L328
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
golangci-lint
golangci-lint exit with code 4
|
golangci-lint
Both go-version and go-version-file inputs are specified, only go-version will be used
|