mirror of
https://github.com/minio/minio.git
synced 2025-01-26 22:23:15 -05:00
10b49eb4fb
mc admin config reset <alias> notify_webhook:something was not working properly. The reason is that GetSubSys() was not calculating the target name properly because it is quitting early when the number of config inputs ('notify_webhook:something' in this case) is equal to 1. This commit will make the code calculates always calculate the target name if found.