mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
fix: intrument os.OpenFile differently for Reads and Writes (#15449)
allows us to trace latency for READs or WRITEs
This commit is contained in:
@@ -181,7 +181,7 @@ func IsBOSH() bool {
|
||||
// Check if this is Helm package installation and report helm chart version
|
||||
func getHelmVersion(helmInfoFilePath string) string {
|
||||
// Read the file exists.
|
||||
helmInfoFile, err := os.Open(helmInfoFilePath)
|
||||
helmInfoFile, err := Open(helmInfoFilePath)
|
||||
if err != nil {
|
||||
// Log errors and return "" as MinIO can be deployed
|
||||
// without Helm charts as well.
|
||||
|
||||
Reference in New Issue
Block a user