mirror of https://github.com/containers/podman.git
camelcase: fix lint reports
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
parent
ac8e6c9910
commit
e3ad92f85d
|
@ -55,7 +55,7 @@ func Split(src string) (entries []string) {
|
||||||
class := 0
|
class := 0
|
||||||
// split into fields based on class of unicode character
|
// split into fields based on class of unicode character
|
||||||
for _, r := range src {
|
for _, r := range src {
|
||||||
switch true {
|
switch {
|
||||||
case unicode.IsLower(r):
|
case unicode.IsLower(r):
|
||||||
class = 1
|
class = 1
|
||||||
case unicode.IsUpper(r):
|
case unicode.IsUpper(r):
|
||||||
|
@ -86,5 +86,6 @@ func Split(src string) (entries []string) {
|
||||||
entries = append(entries, string(s))
|
entries = append(entries, string(s))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return
|
|
||||||
|
return entries
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue