Disable restarting server after setting a new config (#6521)

Also disable listening to service restart event in tests since
we don't do this anymore.
This commit is contained in:
Anis Elleuch
2018-09-28 20:10:51 +01:00
committed by Harshavardhana
parent 8c29f69b00
commit 83d7ec09c1
3 changed files with 0 additions and 22 deletions

View File

@@ -787,8 +787,6 @@ func (a adminAPIHandlers) SetConfigHandler(w http.ResponseWriter, r *http.Reques
// Reply to the client before restarting minio server.
writeSuccessResponseHeadersOnly(w)
sendServiceCmd(globalAdminPeers, serviceRestart)
}
func convertValueType(elem []byte, jsonType gjson.Type) (interface{}, error) {
@@ -920,8 +918,6 @@ func (a adminAPIHandlers) SetConfigKeysHandler(w http.ResponseWriter, r *http.Re
// Send success response
writeSuccessResponseHeadersOnly(w)
sendServiceCmd(globalAdminPeers, serviceRestart)
}
// UpdateCredsHandler - POST /minio/admin/v1/config/credential