mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Fix some lint errors after move to golangci-lint
This commit is contained in:
@@ -3347,7 +3347,6 @@ func (c *client) mqttParseSubsOrUnsubs(r *mqttReader, b byte, pl int, sub bool)
|
||||
filter, err := mqttFilterToNATSSubject(topic)
|
||||
if err != nil {
|
||||
c.Errorf("invalid topic %q: %v", topic, err)
|
||||
err = nil
|
||||
}
|
||||
if sub {
|
||||
qos, err = r.readByte("QoS")
|
||||
|
||||
Reference in New Issue
Block a user