mirror of https://github.com/apache/kafka.git
Remove plugin.path empty warning log in PluginUtils
This commit is contained in:
parent
2fda65147e
commit
2210830a8b
|
@ -209,9 +209,6 @@ public class PluginUtils {
|
||||||
for (String path : pluginPathElements) {
|
for (String path : pluginPathElements) {
|
||||||
try {
|
try {
|
||||||
Path pluginPathElement = Paths.get(path).toAbsolutePath();
|
Path pluginPathElement = Paths.get(path).toAbsolutePath();
|
||||||
if (pluginPath.isEmpty()) {
|
|
||||||
log.warn("Plugin path element is empty, evaluating to {}.", pluginPathElement);
|
|
||||||
}
|
|
||||||
if (!Files.exists(pluginPathElement)) {
|
if (!Files.exists(pluginPathElement)) {
|
||||||
throw new FileNotFoundException(pluginPathElement.toString());
|
throw new FileNotFoundException(pluginPathElement.toString());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue