mirror of
https://github.com/containers/podman.git
synced 2026-10-22 18:05:37 -04:00
camelcase: fix lint reports
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
1 parent
ac8e6c9910
commit
e3ad92f85d
1 file changed
+3
-2
@@ -55,7 +55,7 @@ func Split(src string) (entries []string) {
|
||||
class := 0
|
||||
// split into fields based on class of unicode character
|
||||
for _, r := range src {
|
||||
switch true {
|
||||
switch {
|
||||
case unicode.IsLower(r):
|
||||
class = 1
|
||||
case unicode.IsUpper(r):
|
||||
@@ -86,5 +86,6 @@ func Split(src string) (entries []string) {
|
||||
entries = append(entries, string(s))
|
||||
}
|
||||
}
|
||||
return
|
||||
|
||||
return entries
|
||||
}
|
||||
Reference in new issue
Block a user