Skip to content

Commit 2646995

Browse files
committed
Fixed Linter Error
1 parent 349a3b1 commit 2646995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/plugins/services/echo/echo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func isEcho(conn net.Conn, timeout time.Duration) (bool, error) {
4141
}
4242

4343
// Check if the response matches the payload
44-
isEchoService := bytes.Equal(payload[:], response[:])
44+
isEchoService := bytes.Equal(payload, response)
4545

4646
return isEchoService, nil
4747
}

0 commit comments

Comments
 (0)