fix another import

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
Dmitri Dolguikh
2026-08-04 15:40:28 +02:00
parent 3272058e56
commit 4d010f60ce
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ type NetworkMapDBStoreImpl struct {
extraSettingsManager settings.Manager
}
func NewNetworkMapDBStoreImpl(store NetworkMapDBStore, integratedPeerValidator integrated_validator.IntegratedValidator, extraSettingsManager integrations.Manager) *NetworkMapDBStoreImpl {
func NewNetworkMapDBStoreImpl(store NetworkMapDBStore, integratedPeerValidator integrated_validator.IntegratedValidator, extraSettingsManager settings.Manager) *NetworkMapDBStoreImpl {
return &NetworkMapDBStoreImpl{
store: store,
integratedPeerValidator: integratedPeerValidator,

View File

@@ -23,7 +23,7 @@ type PgStore struct {
}
func NewPostgresqlStore(ctx context.Context, dsn string) (*PgStore, error) {
pool, err := connectToPgDb(context.Background(), dsn)
pool, err := connectToPgDb(ctx, dsn)
if err != nil {
return nil, err
}