summaryrefslogtreecommitdiffstats
path: root/node-admin
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@oath.com>2018-08-22 12:53:18 +0200
committerBjørn Christian Seime <bjorncs@oath.com>2018-08-22 12:53:18 +0200
commit9d1efbc7409976c4c9221c7417fae104032210e0 (patch)
tree5b391faebfd1a16a7ce4069bd3cf64fe8ab7a54e /node-admin
parentac2cc3d62fd8815f46b5fb097da1bf1f5f6236e1 (diff)
Delete certificate before archiving container storage
Diffstat (limited to 'node-admin')
-rw-r--r--node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java
index c84fe157cd3..9d43e0b8b4f 100644
--- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java
+++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentImpl.java
@@ -526,8 +526,8 @@ public class NodeAgentImpl implements NodeAgent {
case dirty:
removeContainerIfNeededUpdateContainerState(node, container);
logger.info("State is " + node.getState() + ", will delete application storage and mark node as ready");
- storageMaintainer.cleanupNodeStorage(containerName, node);
athenzCredentialsMaintainer.clearCredentials();
+ storageMaintainer.cleanupNodeStorage(containerName, node);
updateNodeRepoWithCurrentAttributes(node);
nodeRepository.setNodeState(hostname, Node.State.ready);
expectNodeNotInNodeRepo = true;