mirror of
https://github.com/restic/restic.git
synced 2026-08-06 13:43:18 +00:00
Apply go fix -stringsseq ./...
This commit is contained in:
@@ -61,7 +61,7 @@ func parseFilter(envname string, pad func(string) string) map[string]bool {
|
||||
return filter
|
||||
}
|
||||
|
||||
for _, fn := range strings.Split(env, ",") {
|
||||
for fn := range strings.SplitSeq(env, ",") {
|
||||
t := pad(strings.TrimSpace(fn))
|
||||
val := true
|
||||
switch t[0] {
|
||||
|
||||
Reference in New Issue
Block a user