mirror of
https://github.com/minio/minio.git
synced 2025-11-10 22:10:12 -05:00
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:
committed by
Harshavardhana
parent
8c29f69b00
commit
83d7ec09c1
@@ -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, "")
|
||||
|
||||
Reference in New Issue
Block a user