Skip to content

Commit 19e6427

Browse files
committed
fix: Corner case management
Signed-off-by: MMaiero <matteo.maiero@eurotech.com>
1 parent 0c4e6ce commit 19e6427

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • kura/org.eclipse.kura.container.provider/src/main/java/org/eclipse/kura/container/provider

kura/org.eclipse.kura.container.provider/src/main/java/org/eclipse/kura/container/provider/ContainerInstance.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ public State onConfigurationUpdated(ContainerInstanceOptions newOptions) {
424424
return this;
425425
}
426426

427+
cleanupTemporaryIdentity();
427428
this.startupFuture.cancel(true);
428429

429430
if (newOptions.isEnabled()) {
@@ -440,6 +441,7 @@ public State onContainerReady(final String containerId) {
440441

441442
@Override
442443
public State onStartupFailure() {
444+
cleanupTemporaryIdentity();
443445
return new Disabled(this.options);
444446
}
445447

0 commit comments

Comments
 (0)