Skip to content

Commit

Permalink
1. Fix the error (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
prFor authored Sep 23, 2020
1 parent c7f1f66 commit 0d29c9a
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,18 @@

import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.dromara.hmily.common.utils.FileUtils;
import org.dromara.hmily.config.api.ConfigEnv;
import org.dromara.hmily.config.api.ConfigScan;
import org.dromara.hmily.config.api.entity.*;
import org.dromara.hmily.config.api.event.EventConsumer;
import org.dromara.hmily.config.api.event.EventData;
import org.dromara.hmily.config.api.event.ModifyData;
import org.dromara.hmily.config.loader.ConfigLoader;
import org.dromara.hmily.config.loader.ServerConfigLoader;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.MockitoJUnitRunner;

import java.io.ByteArrayInputStream;
import java.util.function.Supplier;

import static org.mockito.ArgumentMatchers.any;

/**
* @author xiaoyu
*/
Expand Down Expand Up @@ -74,7 +63,7 @@ public void accept(ModifyData data) {
}

@Override
public String properties() {
public String regex() {
return "hmily.config.*";
}
});
Expand Down

0 comments on commit 0d29c9a

Please sign in to comment.