Commit b0091ed
authored
procinfo: Do not treat username issue as an error (minio#34)
If the system cannot fetch username of the minio process owner, it gets
reported as an error in the health report. However, this can happen for
legitimate reasons (e.g. in minio-operator based environments) and is
not something that needs to be flagged as an error.
Fixed by ignoring error when trying to get the username,
Set username to "<non-root>" in case of error1 parent 8c928b2 commit b0091ed
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
| 670 | + | |
| 671 | + | |
670 | 672 | | |
671 | 673 | | |
672 | | - | |
673 | | - | |
| 674 | + | |
674 | 675 | | |
675 | 676 | | |
676 | 677 | | |
| |||
0 commit comments