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