mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
resovle config/metrics as a destination folder (#1678)
This commit is contained in:
@@ -65,7 +65,8 @@ public class CanalStater {
|
|||||||
|
|
||||||
public boolean accept(File pathname) {
|
public boolean accept(File pathname) {
|
||||||
String filename = pathname.getName();
|
String filename = pathname.getName();
|
||||||
return pathname.isDirectory() && !"spring".equalsIgnoreCase(filename);
|
return pathname.isDirectory() && !"spring".equalsIgnoreCase(filename) &&
|
||||||
|
!"metrics".equalsIgnoreCase(filename);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (instanceDirs != null && instanceDirs.length > 0) {
|
if (instanceDirs != null && instanceDirs.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user