-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(healthz): do not warn about expected events
As part of the health-check routines, a file is removed in minio and afterwards it's asserted that the file is gone. This call to `Minio.stat_object()` led to a warning being issued during every health-check iteration like the following: ``` Minio error, cannot stat object 'healthz_tmp-object_{UUID}': NoSuchKey ``` This commit extends `Minio.stat_object()`, so that issuing of the log-warning can be suppressed by profiding the argument `warn_missing=False`. Default behaviour doesn't change and will still issue this warning.
- Loading branch information
1 parent
1df85e2
commit f523a5d
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters