diff --git a/go.mod b/go.mod index d5e1b3a..9e76058 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/argoproj-labs/sample-rollouts-metric-plugin +module github.com/argoproj-labs/rollouts-plugin-metric-sample-prometheus go 1.19 diff --git a/main.go b/main.go index d1cdd5e..0516646 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/argoproj-labs/sample-rollouts-metric-plugin/internal/plugin" + "github.com/argoproj-labs/rollouts-plugin-metric-sample-prometheus/internal/plugin" rolloutsPlugin "github.com/argoproj/argo-rollouts/metricproviders/plugin/rpc" goPlugin "github.com/hashicorp/go-plugin" log "github.com/sirupsen/logrus" @@ -24,7 +24,7 @@ func main() { LogCtx: logCtx, } // pluginMap is the map of plugins we can dispense. - var pluginMap = map[string]goPlugin.Plugin{ + pluginMap := map[string]goPlugin.Plugin{ "RpcMetricProviderPlugin": &rolloutsPlugin.RpcMetricProviderPlugin{Impl: rpcPluginImp}, }