!7 更改config-core模块中的ConfiguratorFactory中的cover方法

Merge pull request !7 from 慕冬十六/meng
This commit is contained in:
tianyaleixiaowu 2022-10-19 01:34:10 +00:00 committed by Gitee
commit 1d347980ee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -78,7 +78,7 @@ public class ConfiguratorFactory {
* 自定义配置器覆盖文件配置器
* @param configurator 配置器
*/
public static synchronized void cover(FileConfigurator configurator){
public static synchronized void cover(Configurator configurator){
instance = configurator;
LOGGER.info("自定义配置器类型:{}", instance.getType());
}