From a81776346033e74b967aa2ca7aff16161456b41e Mon Sep 17 00:00:00 2001 From: David Pecollet Date: Fri, 15 Mar 2024 12:37:57 +0000 Subject: [PATCH] fixed bug --- pom.xml | 2 +- src/main/java/cs/neo4j/Ec2DiscoveryResolver.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 00b0984..98809cf 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.neo4j aws-ec2-asg-discovery - 0.4.0 + 0.4.1 17 diff --git a/src/main/java/cs/neo4j/Ec2DiscoveryResolver.java b/src/main/java/cs/neo4j/Ec2DiscoveryResolver.java index 949f4e4..e8d3877 100644 --- a/src/main/java/cs/neo4j/Ec2DiscoveryResolver.java +++ b/src/main/java/cs/neo4j/Ec2DiscoveryResolver.java @@ -39,10 +39,10 @@ public String getName() { @Override public void init(Type type, Configuration configuration, LogProvider logProvider) { - log.info("Init of discovery plugin "+this.NAME); this.type = type; this.log = logProvider.getLog(getClass()); this.configuration = configuration; + log.info("Init of discovery plugin "+this.NAME); this.asgName = configuration.get(Ec2DiscoverySettings.asg_name); this.awsRegion = configuration.get(Ec2DiscoverySettings.aws_region);