mirror of https://github.com/apache/nifi.git
NIFI-2686: Confusing log No hostnames specified
instanceDefinitions.isEmpty() was negate wrongly. This closes #965. Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
parent
daf4855570
commit
6916c5363a
|
@ -132,7 +132,7 @@ public class TlsToolkitStandalone {
|
||||||
boolean overwrite = standaloneConfig.isOverwrite();
|
boolean overwrite = standaloneConfig.isOverwrite();
|
||||||
|
|
||||||
List<InstanceDefinition> instanceDefinitions = standaloneConfig.getInstanceDefinitions();
|
List<InstanceDefinition> instanceDefinitions = standaloneConfig.getInstanceDefinitions();
|
||||||
if (!instanceDefinitions.isEmpty() && logger.isInfoEnabled()) {
|
if (instanceDefinitions.isEmpty() && logger.isInfoEnabled()) {
|
||||||
logger.info("No " + TlsToolkitStandaloneCommandLine.HOSTNAMES_ARG + " specified, not generating any host certificates or configuration.");
|
logger.info("No " + TlsToolkitStandaloneCommandLine.HOSTNAMES_ARG + " specified, not generating any host certificates or configuration.");
|
||||||
}
|
}
|
||||||
for (InstanceDefinition instanceDefinition : instanceDefinitions) {
|
for (InstanceDefinition instanceDefinition : instanceDefinitions) {
|
||||||
|
|
Loading…
Reference in New Issue