Skip to content

Commit 13bd8f2

Browse files
povilasvFUSAKLA
andauthored
Update cmd/thanos/check.go
Co-Authored-By: FUSAKLA <m.chodur@seznam.cz>
1 parent c62d1c9 commit 13bd8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/thanos/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func checkRulesFiles(logger log.Logger, files *[]string) error {
5353
level.Info(logger).Log("result", "SUCCESS", "rules found", n)
5454
}
5555
if failed.Err() != nil {
56-
return errors.New(failed.Error())
56+
return failed
5757
}
5858
return nil
5959
}

0 commit comments

Comments
 (0)