From ce26b0d981a61db43215862df3bbdd0ee217b12b Mon Sep 17 00:00:00 2001 From: Todd Knight Date: Wed, 8 Sep 2021 16:59:54 -0700 Subject: [PATCH] merging type of 2 arguments into a single declaration. --- internal/plugin/host/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugin/host/plugin.go b/internal/plugin/host/plugin.go index ca339ec8b..b6a205ca7 100644 --- a/internal/plugin/host/plugin.go +++ b/internal/plugin/host/plugin.go @@ -16,7 +16,7 @@ type Plugin struct { // NewPlugin creates a new in memory Plugin assigned to the global scope. // Name, Description are the only allowed option. All other options are ignored. -func NewPlugin(pluginName string, idPrefix string, opt ...Option) *Plugin { +func NewPlugin(pluginName, idPrefix string, opt ...Option) *Plugin { opts := getOpts(opt...) p := &Plugin{ Plugin: &store.Plugin{