mirror of
https://github.com/minio/minio.git
synced 2025-11-25 20:16:10 -05:00
simplify probe APIs
This commit is contained in:
@@ -49,7 +49,7 @@ func getAuth(reply *AuthReply) *probe.Error {
|
||||
// Get auth keys
|
||||
func (s *AuthService) Get(r *http.Request, args *Args, reply *AuthReply) error {
|
||||
if err := getAuth(reply); err != nil {
|
||||
return probe.NewWrappedError(err)
|
||||
return probe.WrapError(err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user