Removing unneeded NewProviderWithGroup function

This commit is contained in:
Kyle Wojtaszek committed 2021-01-27 14:43:00 -08:00
1 parent 30844eed75
commit 652abba813
2 files changed
+1 -7

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ func main() {
}
}()
providerWithGroup, err := etw.NewProviderWithGroup("TestProviderWithGroup", group, callback)
providerWithGroup, err := etw.NewProviderWithOptions("TestProviderWithGroup", etw.WithGroup(group), etw.WithCallback(callback))
if err != nil {
logrus.Error(err)