aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/postgres2/postgres2_store.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-09-14 23:06:44 -0700
committerchrislu <chris.lu@gmail.com>2022-09-14 23:06:44 -0700
commit21c058790010aa9224568248f2d9bf9c324b6747 (patch)
treeef2e2a1693c0563f8e44c099d1fee929f40863ff /weed/filer/postgres2/postgres2_store.go
parentc8645fd2323d97164489e0429ed140f84002e61e (diff)
downloadseaweedfs-21c058790010aa9224568248f2d9bf9c324b6747.tar.xz
seaweedfs-21c058790010aa9224568248f2d9bf9c324b6747.zip
go fmt
Diffstat (limited to 'weed/filer/postgres2/postgres2_store.go')
-rw-r--r--weed/filer/postgres2/postgres2_store.go2
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