Skip to content

Commit

Permalink
Merge pull request #11 from harshithasudhakar/patch-5
Browse files Browse the repository at this point in the history
[ISSUE #3764]unnecessary assignment to the blank identifier
  • Loading branch information
xwm1992 authored Jun 27, 2023
2 parents 387d9ee + 0cb92db commit c8345a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/connector/standalone/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (c *Consumer) Start() error {
func (c *Consumer) Shutdown() error {
c.started.CAS(true, false)
if ok := c.started.CAS(true, false); ok {
for topicName, _ := range c.subscribes {
for topicName := range c.subscribes {
c.Unsubscribe(topicName)
delete(c.subscribes, topicName)
}
Expand Down

0 comments on commit c8345a4

Please sign in to comment.