add flag to skiup tls verfication in paho client #79
Annotations
10 errors and 4 warnings
client.go#L122
Magic number: 2, in <argument> detected (mnd)
|
client.go#L127
Magic number: 3, in <argument> detected (mnd)
|
client.go#L133
Magic number: 4, in <argument> detected (mnd)
|
client.go#L139
Magic number: 5, in <argument> detected (mnd)
|
client.go#L146
Magic number: 6, in <argument> detected (mnd)
|
client.go#L151
Magic number: 7, in <argument> detected (mnd)
|
client.go#L156
Magic number: 8, in <argument> detected (mnd)
|
client.go#L161
Magic number: 9, in <argument> detected (mnd)
|
client.go#L243
SA4031: this nil check is always true (staticcheck)
|
client.go#L239
SA4031(related information): this is the value of tlsConfig (staticcheck)
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
client.go#L56
var-naming: struct field skipTlsValidation should be skipTLSValidation (revive)
|
client.go#L167
var-naming: var skipTls should be skipTLS (revive)
|
subscribe.go#L29
unused-parameter: parameter 'client' seems to be unused, consider removing or renaming it as _ (revive)
|
This job failed
Loading