tests: Add tests for browser peer rpc. Fixes #3062 (#3189)

This commit is contained in:
Harshavardhana
2016-11-07 11:43:35 -08:00
committed by GitHub
parent 286a8924fd
commit 33c771bb3e
7 changed files with 173 additions and 23 deletions
+1 -2
View File
@@ -383,8 +383,7 @@ func (web *webAPIHandlers) SetAuth(r *http.Request, args *SetAuthArgs, reply *Se
reply.PeerErrMsgs[svr] = errVal.Error()
}
// If we were unable to update locally, we return an error to
// the user/browser.
// If we were unable to update locally, we return an error to the user/browser.
if errsMap[globalMinioAddr] != nil {
// Since the error message may be very long to display
// on the browser, we tell the user to check the