fix error name

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
Dmitri Dolguikh
2026-08-13 16:11:31 +02:00
parent c004d09d77
commit cb4460d1d9
2 changed files with 3 additions and 3 deletions
@@ -18,7 +18,7 @@ import (
const storeSqliteFileName = "store.db"
var NotSupportedStoreEngineError = errors.New("unsupported store engine")
var ErrNotSupportedStoreEngine = errors.New("unsupported store engine")
func NewNetworkMapDBStore(
ctx context.Context,
@@ -61,7 +61,7 @@ func NewNetworkMapDBStore(
}, nil
}
return nil, fmt.Errorf("networkmap store doesn't support engine %s, %w", kind, NotSupportedStoreEngineError)
return nil, fmt.Errorf("networkmap store doesn't support engine %s, %w", kind, ErrNotSupportedStoreEngine)
}
func mustLookupDsnEnv() (string, error) {