Use correct agent when failing nodes
@@ -108,7 +108,7 @@ public class DynamicProvisioningMaintainer extends NodeRepositoryMaintainer {
" children, failing out the host recursively", e);
// Fail out as operator to force a quick redeployment
nodeRepository().nodes().failOrMarkRecursively(
- host.hostname(), Agent.operator, "Failed by HostProvisioner due to provisioning failure");
+ host.hostname(), Agent.DynamicProvisioningMaintainer, "Failed by HostProvisioner due to provisioning failure");
} catch (RuntimeException e) {
if (e.getCause() instanceof NameNotFoundException)
log.log(Level.INFO, "Could not provision " + host.hostname() + ", will retry in " + interval() + ": " + Exceptions.toMessageString(e));
