Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Tiwari <[email protected]>
  • Loading branch information
Revolyssup committed Jul 13, 2022
1 parent b5e2a44 commit 57d984c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions adapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ type Adapter struct {
mx sync.Mutex
}

func (a *Adapter) SetChannel(hchan *chan interface{}) {
a.mx.Lock()
defer a.mx.Unlock()
a.Channel = hchan
func (h *Adapter) SetChannel(hchan *chan interface{}) {
h.mx.Lock()
defer h.mx.Unlock()
h.Channel = hchan
}

0 comments on commit 57d984c

Please sign in to comment.