From 6d09e6480f66c8130a889d68e03bbddd750abc28 Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Sat, 25 Jul 2026 17:35:43 -0700 Subject: [PATCH] rename storageMount --- plugins/host_storage.go | 4 ++-- plugins/manager_loader.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/host_storage.go b/plugins/host_storage.go index e15a8b8ee..e2ead7aae 100644 --- a/plugins/host_storage.go +++ b/plugins/host_storage.go @@ -10,7 +10,7 @@ import ( "github.com/navidrome/navidrome/plugins/host" ) -const STORAGE_MOUNT = "/storage" +const storageMount = "/storage" type storageServiceImpl struct{} @@ -28,7 +28,7 @@ func newStorageService(pluginName string) (host.StorageService, error) { } func (s *storageServiceImpl) GetStoragePath(ctx context.Context) string { - return STORAGE_MOUNT + return storageMount } var _ host.StorageService = (*storageServiceImpl)(nil) diff --git a/plugins/manager_loader.go b/plugins/manager_loader.go index 1969c9b2c..bd8c82a76 100644 --- a/plugins/manager_loader.go +++ b/plugins/manager_loader.go @@ -352,7 +352,7 @@ func (m *Manager) loadPluginWithConfig(p *model.Plugin) error { } if pkg.Manifest.HasStoragePermissions() { - allowedPaths[getHostStoragePath(p.ID)] = STORAGE_MOUNT + allowedPaths[getHostStoragePath(p.ID)] = storageMount } pluginManifest.AllowedPaths = allowedPaths