Merge pull request #14121 from L2ncE/main

Fix a syntax error in a code comment
This commit is contained in:
Sahdev Zala 2022-06-15 15:41:30 -04:00 committed by GitHub
commit c4e7224946
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,7 +242,7 @@ func checkSuffix(lg *zap.Logger, names []string) []string {
snaps = append(snaps, names[i])
} else {
// If we find a file which is not a snapshot then check if it's
// a vaild file. If not throw out a warning.
// a valid file. If not throw out a warning.
if _, ok := validFiles[names[i]]; !ok {
if lg != nil {
lg.Warn("found unexpected non-snap file; skipping", zap.String("path", names[i]))