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

@@ -94,11 +94,6 @@ func (adm *AdminClient) GetConfig() ([]byte, error) {
// GetConfigKeys - returns partial json or json value from config.json of a minio setup.
func (adm *AdminClient) GetConfigKeys(keys []string) ([]byte, error) {
// No TLS?
if !adm.secure {
// return nil, fmt.Errorf("credentials/configuration cannot be retrieved over an insecure connection")
}
queryVals := make(url.Values)
for _, k := range keys {
queryVals.Add(k, "")