Skip to content

Commit e13196b

Browse files
authored
Merge pull request etcd-io#19326 from redwrasse/redwrasse/redundant-continue-removematchfile
fileutil: removes redundant continue statement in RemoveMatchFile
2 parents 2eca897 + 0f97c97 commit e13196b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

client/pkg/fileutil/fileutil.go

-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ func RemoveMatchFile(lg *zap.Logger, dir string, matchFunc func(fileName string)
160160
lg.Error("remove file failed",
161161
zap.String("file", file),
162162
zap.Error(err))
163-
continue
164163
}
165164
}
166165
}

0 commit comments

Comments
 (0)