mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 02:33:14 -04:00
chore: Upgrade to golangci-lint v2 (#7236)
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
This commit is contained in:
@@ -60,7 +60,7 @@ func TestTraceParse(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
|
||||
if "" != m.serviceEndpoint {
|
||||
if m.serviceEndpoint != "" {
|
||||
t.Errorf("Test %v: Expected serviceEndpoint to be '' but found: %s", i, m.serviceEndpoint)
|
||||
}
|
||||
if test.endpoint != m.Endpoint {
|
||||
|
||||
Reference in New Issue
Block a user