diff options
Diffstat (limited to 'weed/filer/postgres2')
| -rw-r--r-- | weed/filer/postgres2/postgres2_store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/postgres2/postgres2_store.go b/weed/filer/postgres2/postgres2_store.go index 01e3e9c87..bdff859e9 100644 --- a/weed/filer/postgres2/postgres2_store.go +++ b/weed/filer/postgres2/postgres2_store.go @@ -63,7 +63,7 @@ func (store *PostgresStore2) initialize(createTable, upsertQuery string, enableU sqlUrl += " host=" + hostname } if port != 0 { - sqlUrl += " port=" + strconv.Itoa(port) + sqlUrl += " port=" + strconv.Itoa(port) } if sslmode != "" { sqlUrl += " sslmode=" + sslmode |
