Commit 84c590bf authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Expose match handler label to registry.

parent 91b124b1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -208,6 +208,10 @@ func (mh *MatchHandler) Close() {
	mh.ticker.Stop()
}

func (mh *MatchHandler) Label() string {
	return mh.core.Label()
}

func (mh *MatchHandler) queueCall(f func(*MatchHandler)) bool {
	if mh.stopped.Load() {
		return false