You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-cloud-kubernetes-fabric8-leader/src/main/java/org/springframework/cloud/kubernetes/fabric8/leader/election/Fabric8LeaderElectionInitiator.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@ void postConstruct() {
135
135
@PreDestroy
136
136
voidpreDestroy() {
137
137
destroyCalled = true;
138
-
LOG.info(() -> "preDestroy called in the leader initiator : " + candidateIdentity);
138
+
LOG.info(() -> "preDestroy called on the leader initiator : " + candidateIdentity);
139
139
140
140
if (podReadyFuture != null && !podReadyFuture.isDone()) {
141
141
// if the task is not running, this has no effect.
@@ -145,7 +145,7 @@ void preDestroy() {
145
145
}
146
146
147
147
if (leaderFuture != null) {
148
-
LOG.info(() -> "leader will be canceled : " + candidateIdentity);
148
+
LOG.info(() -> "leaderFuture will be canceled for : " + candidateIdentity);
149
149
// needed to release the lock, in case we are holding it.
150
150
// fabric8 internally expects this one to be called
Copy file name to clipboardExpand all lines: spring-cloud-kubernetes-fabric8-leader/src/test/java/org/springframework/cloud/kubernetes/fabric8/leader/election/it/Fabric8LeaderElectionSimpleITTest.java
0 commit comments