Merge pull request #12456 from julienvey/fix-sql-typo

Fix typo in sql log
This commit is contained in:
Wenkai Yin(尹文开) 2020-08-28 10:04:27 +08:00 committed by GitHub
commit 3abe8b8fab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ func (p *pgsql) Name() string {
// String ...
func (p *pgsql) String() string {
return fmt.Sprintf("type-%s host-%s port-%s databse-%s sslmode-%q",
return fmt.Sprintf("type-%s host-%s port-%s database-%s sslmode-%q",
p.Name(), p.host, p.port, p.database, p.sslmode)
}