Skip to content

Merge pull request #122 from kobergj/AllowNamingNatsConnections #59

Merge pull request #122 from kobergj/AllowNamingNatsConnections

Merge pull request #122 from kobergj/AllowNamingNatsConnections #59

Triggered via push August 7, 2023 07:04
Status Failure
Total duration 16m 41s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 10 warnings
Lint: nacos.go#L11
import 'github.com/nacos-group/nacos-sdk-go/v2/clients' is not allowed from list 'Main' (depguard)
Lint: nacos.go#L12
import 'github.com/nacos-group/nacos-sdk-go/v2/clients/naming_client' is not allowed from list 'Main' (depguard)
Lint: nacos.go#L13
import 'github.com/nacos-group/nacos-sdk-go/v2/common/constant' is not allowed from list 'Main' (depguard)
Lint: nacos.go#L14
import 'github.com/nacos-group/nacos-sdk-go/v2/vo' is not allowed from list 'Main' (depguard)
Lint: nacos.go#L38
return statements should not be cuddled if block has more than two lines (wsl)
Lint: nacos.go#L41
parameter name 'n' is too short for the scope of its usage (varnamelen)
Lint: nacos.go#L55
assignments should only be cuddled with other assignments (wsl)
Lint: nacos.go#L56
only one cuddle assignment allowed before if statement (wsl)
Lint: nacos.go#L91
only one cuddle assignment allowed before if statement (wsl)
Lint: nacos.go#L94
assignments should only be cuddled with other assignments (wsl)
Summary
cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration
Summary
impossible type assertion: ipubsub.MessageAckHandler(m).(*psAckHandler)
Summary
cannot use ackh (variable of type *psAckHandler) as type "cloud.google.com/go/internal/pubsub".AckHandler in argument to ipubsub.NewMessage:
Summary
Process completed with exit code 1.
Unit Tests
Process completed with exit code 1.
Lint: nacos.go#L1
package-comments: should have a package comment (revive)
Lint: etcd.go#L43
exported: exported function NewRegistry should have comment or be unexported (revive)
Lint: etcd.go#L293
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
Lint: etcd.go#L337
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
Lint: etcd.go#L377
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
Lint: zookeeper.go#L86
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
Lint: zookeeper.go#L172
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
Lint: zookeeper.go#L225
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
Lint: zookeeper.go#L277
exported: exported function NewRegistry should have comment or be unexported (revive)
Lint: proxy.go#L58
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)