diff options
| author | chrislu <chris.lu@gmail.com> | 2024-03-27 23:57:00 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-03-27 23:57:00 -0700 |
| commit | 13b7c7b366aeec366f887ceb64404741c1329707 (patch) | |
| tree | 3e2cceef9a1f710fb7a532b47aea3185d8ca0dd4 /weed/filer/postgres/postgres_store.go | |
| parent | e3c8be7f899be52c8fa9bcff35c886d69e2ca693 (diff) | |
| parent | 6aa804b368242f853b5258f20178eae8a5eda26f (diff) | |
| download | seaweedfs-13b7c7b366aeec366f887ceb64404741c1329707.tar.xz seaweedfs-13b7c7b366aeec366f887ceb64404741c1329707.zip | |
Merge branch 'master' into mq-subscribe
Diffstat (limited to 'weed/filer/postgres/postgres_store.go')
| -rw-r--r-- | weed/filer/postgres/postgres_store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/postgres/postgres_store.go b/weed/filer/postgres/postgres_store.go index cacdbd864..0c02f0726 100644 --- a/weed/filer/postgres/postgres_store.go +++ b/weed/filer/postgres/postgres_store.go @@ -92,7 +92,7 @@ func (store *PostgresStore) initialize(upsertQuery string, enableUpsert bool, us store.DB.SetConnMaxLifetime(time.Duration(maxLifetimeSeconds) * time.Second) if err = store.DB.Ping(); err != nil { - return fmt.Errorf("connect to %s error:%v", sqlUrl, err) + return fmt.Errorf("connect to %s error:%v", adaptedSqlUrl, err) } return nil |
