File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,14 @@ func (this *Inspector) inspectOriginalAndGhostTables() (err error) {
141141 switch column .Type {
142142 case sql .FloatColumnType :
143143 {
144- this .migrationContext .Log .Warning ("Will not use %+v as shared key due to FLOAT data type" , sharedUniqueKey .Name )
144+ this .migrationContext .Log .Warningf ("Will not use %+v as shared key due to FLOAT data type" , sharedUniqueKey .Name )
145145 uniqueKeyIsValid = false
146146 }
147147 case sql .JSONColumnType :
148148 {
149149 // Noteworthy that at this time MySQL does not allow JSON indexing anyhow, but this code
150150 // will remain in place to potentially handle the future case where JSON is supported in indexes.
151- this .migrationContext .Log .Warning ("Will not use %+v as shared key due to JSON data type" , sharedUniqueKey .Name )
151+ this .migrationContext .Log .Warningf ("Will not use %+v as shared key due to JSON data type" , sharedUniqueKey .Name )
152152 uniqueKeyIsValid = false
153153 }
154154 }
You can’t perform that action at this time.
0 commit comments