Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integration-cli: SA5011: possible nil pointer dereference (staticcheck)
I think the original intent here was to make passing t optional (62a856e), but it looks like that's not done anywhere, so let's remove it. integration-cli/docker_utils_test.go:81:2: SA5011: possible nil pointer dereference (staticcheck) c.Helper() ^ integration-cli/docker_utils_test.go:84:5: SA5011(related information): this check suggests that the pointer can be nil (staticcheck) if c != nil { ^ integration-cli/docker_utils_test.go:106:2: SA5011: possible nil pointer dereference (staticcheck) c.Helper() ^ integration-cli/docker_utils_test.go:108:5: SA5011(related information): this check suggests that the pointer can be nil (staticcheck) if c != nil { ^ integration-cli/docker_utils_test.go:116:2: SA5011: possible nil pointer dereference (staticcheck) c.Helper() ^ integration-cli/docker_utils_test.go:118:5: SA5011(related information): this check suggests that the pointer can be nil (staticcheck) if c != nil { ^ integration-cli/docker_utils_test.go:126:2: SA5011: possible nil pointer dereference (staticcheck) c.Helper() ^ integration-cli/docker_utils_test.go:128:5: SA5011(related information): this check suggests that the pointer can be nil (staticcheck) if c != nil { ^ Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information