diff --git a/pkg/services/store/storage_disk.go b/pkg/services/store/storage_disk.go index 7ac33428a1d..c5baa7824a2 100644 --- a/pkg/services/store/storage_disk.go +++ b/pkg/services/store/storage_disk.go @@ -2,7 +2,6 @@ package store import ( "context" - "fmt" "strings" "github.com/grafana/grafana-plugin-sdk-go/data" @@ -46,7 +45,8 @@ func newDiskStorage(meta RootStorageMeta, scfg RootStorageConfig) *rootStorageDi } if meta.Notice == nil { - path := fmt.Sprintf("file://%s", cfg.Path) + protocol := "file:///" + path := protocol + cfg.Path bucket, err := blob.OpenBucket(context.Background(), path) if err != nil { grafanaStorageLogger.Warn("error loading storage", "prefix", scfg.Prefix, "err", err)