From 7cd9a9f2e02ec995325a177132e62f79463b9107 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Fri, 8 Sep 2023 09:26:17 +0800 Subject: [PATCH] chore: pkg imported more than once Signed-off-by: guoguangwu --- internal/prometheus/sli_plugin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/prometheus/sli_plugin.go b/internal/prometheus/sli_plugin.go index 17eb9c87..98b3a2a4 100644 --- a/internal/prometheus/sli_plugin.go +++ b/internal/prometheus/sli_plugin.go @@ -13,7 +13,6 @@ import ( "github.com/traefik/yaegi/stdlib" "github.com/slok/sloth/internal/log" - "github.com/slok/sloth/pkg/prometheus/plugin/v1" pluginv1 "github.com/slok/sloth/pkg/prometheus/plugin/v1" ) @@ -58,7 +57,7 @@ func (f fileManager) ReadFile(_ context.Context, path string) ([]byte, error) { type SLIPlugin struct { ID string - Func plugin.SLIPlugin + Func pluginv1.SLIPlugin } type FileSLIPluginRepoConfig struct {