aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/postgres2
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-17 20:57:08 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-17 20:57:08 -0800
commit3575d41009e4367658e75e6ae780c6260b80daf9 (patch)
treebc3330e274901d782395b7396cb54d7cc42608b1 /weed/filer/postgres2
parent6daa932f5c1571cc60cf89014cf17810d756dd6b (diff)
downloadseaweedfs-3575d41009e4367658e75e6ae780c6260b80daf9.tar.xz
seaweedfs-3575d41009e4367658e75e6ae780c6260b80daf9.zip
go fmt
Diffstat (limited to 'weed/filer/postgres2')
-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 4b5fbc8cf..92893bf7a 100644
--- a/weed/filer/postgres2/postgres2_store.go
+++ b/weed/filer/postgres2/postgres2_store.go
@@ -50,7 +50,7 @@ func (store *PostgresStore2) initialize(createTable, user, password, hostname st
store.SupportBucketTable = true
store.SqlGenerator = &postgres.SqlGenPostgres{
CreateTableSqlTemplate: createTable,
- DropTableSqlTemplate: `drop table "%s"`,
+ DropTableSqlTemplate: `drop table "%s"`,
}
sqlUrl := fmt.Sprintf(CONNECTION_URL_PATTERN, hostname, port, sslmode)