Skip to content

Commit

Permalink
Add HealthInfoVersion3 in list of supported versions
Browse files Browse the repository at this point in the history
  • Loading branch information
anjalshireesh committed Oct 13, 2023
1 parent 59bc761 commit f047144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion health.go
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ func (adm *AdminClient) ServerHealthInfo(ctx context.Context, types []HealthData
}

switch version.Version {
case "", HealthInfoVersion2, HealthInfoVersion:
case "", HealthInfoVersion3, HealthInfoVersion2, HealthInfoVersion:
default:
closeResponse(resp)
return nil, "", errors.New("Upgrade Minio Client to support health info version " + version.Version)
Expand Down

0 comments on commit f047144

Please sign in to comment.