Skip to content

Commit

Permalink
fix typo about _TraceOff (#600)
Browse files Browse the repository at this point in the history
Co-authored-by: Li Yazhou <[email protected]>
  • Loading branch information
flaneur2020 and Li Yazhou authored Mar 8, 2021
1 parent c6a3148 commit 378f68a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const (
defaultTraceRegionID = "DefaultRegion"

// tracing message switch
_TranceOff = "false"
_TraceOff = "false"

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

Expand Down

0 comments on commit 378f68a

Please sign in to comment.