mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 13:42:52 +02:00
Fix various golangci-lint errors (#2059)
This commit is contained in:
@@ -158,11 +158,11 @@ func ParseKey(key string) []string {
|
||||
for _, rune := range key {
|
||||
split := false
|
||||
switch {
|
||||
case escaped == false && rune == '\\':
|
||||
case !escaped && rune == '\\':
|
||||
escaped = true
|
||||
continue
|
||||
case rune == '.':
|
||||
split = escaped == false
|
||||
split = !escaped
|
||||
}
|
||||
escaped = false
|
||||
if split {
|
||||
|
||||
Reference in New Issue
Block a user