use new types package
@@ -9,6 +9,7 @@ import (
"strings"
"github.com/karimra/gnmic/formatters"
+ "github.com/karimra/gnmic/types"
)
const (
@@ -83,7 +84,7 @@ func (p *groupBy) WithLogger(l *log.Logger) {
}
}
-func (p *groupBy) WithTargets(tcs map[string]interface{}) {}
+func (p *groupBy) WithTargets(tcs map[string]*types.TargetConfig) {}
func (p *groupBy) byTags(es []*formatters.EventMsg) []*formatters.EventMsg {
if len(p.Tags) == 0 {
