Skip to content

Commit 0be196f

Browse files
committed
fix rebase
1 parent e963ac9 commit 0be196f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

helpers.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ func getCassandraBaseType(name string) Type {
164164
return TypeCustom
165165
}
166166
}
167+
167168
// TODO: Cover with unit tests.
168169
// Parses long Java-style type definition to internal data structures.
169170
func getCassandraLongType(name string, protoVer byte, logger StructuredLogger) TypeInfo {
@@ -261,7 +262,7 @@ func getCassandraType(name string, protoVer byte, logger StructuredLogger) TypeI
261262
} else if strings.HasPrefix(name, "map<") {
262263
names := splitCQLCompositeTypes(name, "map")
263264
if len(names) != 2 {
264-
logger.Warning("error parsing map type, it has %d subelements, expecting 2",
265+
logger.Warning("Error parsing map type, it has %d subelements, expecting 2",
265266
newLogFieldInt("subelements_number", len(names)))
266267
return NewNativeType(protoVer, TypeCustom)
267268
}

0 commit comments

Comments
 (0)