Skip to content

Commit a81ee2a

Browse files
author
Li Yazhou
committed
fix typo about _TraceOff
1 parent 7e36c75 commit a81ee2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const (
3939
defaultTraceRegionID = "DefaultRegion"
4040

4141
// tracing message switch
42-
_TranceOff = "false"
42+
_TraceOff = "false"
4343

4444
// Pulling topic information interval from the named server
4545
_PullNameServerInterval = 30 * time.Second
@@ -587,7 +587,7 @@ func (c *rmqClient) ProcessSendResponse(brokerName string, cmd *remote.RemotingC
587587
resp.QueueOffset = off
588588
resp.TransactionID = cmd.ExtFields["transactionId"]
589589
resp.RegionID = regionId
590-
resp.TraceOn = trace != "" && trace != _TranceOff
590+
resp.TraceOn = trace != "" && trace != _TraceOff
591591
return nil
592592
}
593593

0 commit comments

Comments
 (0)