Skip to content

detect redis over tls #91

detect redis over tls

detect redis over tls #91

GitHub Actions / golangci failed Dec 18, 2023 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (1)

pkg/plugins/services/redis/redis.go|128 col 9| indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)

Filtered Findings (0)

Annotations

Check failure on line 128 in pkg/plugins/services/redis/redis.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] pkg/plugins/services/redis/redis.go#L128

indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
Raw output
pkg/plugins/services/redis/redis.go:128:9: indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
	} else {
		return plugins.CreateServiceFrom(target, payload, false, "", plugins.TCP), nil
	}