From e8c1e6e09b34a74857659f2157266a23847c5ef8 Mon Sep 17 00:00:00 2001 From: guangwu Date: Tue, 11 Jul 2023 13:28:53 +0800 Subject: [PATCH] fix: log format error (#3409) --- tools/goctl/model/sql/parser/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/goctl/model/sql/parser/parser.go b/tools/goctl/model/sql/parser/parser.go index 791bae8d..a929d970 100644 --- a/tools/goctl/model/sql/parser/parser.go +++ b/tools/goctl/model/sql/parser/parser.go @@ -324,7 +324,7 @@ func ConvertDataType(table *model.Table, strict bool) (*Table, error) { if len(each) == 1 { one := each[0] if one.Name == table.PrimaryKey.Name { - log.Warning("[ConvertDataType]: table q%, duplicate unique index with primary key: %q", table.Table, one.Name) + log.Warning("[ConvertDataType]: table %q, duplicate unique index with primary key: %q", table.Table, one.Name) continue } }