diff options
author | Valerij Fredriksen <valerijf@verizonmedia.com> | 2019-01-28 14:45:04 +0100 |
---|---|---|
committer | Valerij Fredriksen <valerijf@verizonmedia.com> | 2019-01-28 14:45:04 +0100 |
commit | 6e09cef2cff581b6a4634aa39bcc121a6bed6df8 (patch) | |
tree | 28342a45b69df6b642b187756ec995f4250d6f5d /config-provisioning | |
parent | bb26c7064c5b283e8e85cf9002b3138375b2b35e (diff) |
Refuse to allocate nodes if parent is not active
Diffstat (limited to 'config-provisioning')
-rw-r--r-- | config-provisioning/src/main/java/com/yahoo/config/provision/ParentHostNotReadyException.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/config-provisioning/src/main/java/com/yahoo/config/provision/ParentHostNotReadyException.java b/config-provisioning/src/main/java/com/yahoo/config/provision/ParentHostNotReadyException.java new file mode 100644 index 00000000000..da276136b48 --- /dev/null +++ b/config-provisioning/src/main/java/com/yahoo/config/provision/ParentHostNotReadyException.java @@ -0,0 +1,18 @@ +// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.config.provision; + +/** + * + * Exception thrown when trying to activate a node that runs on a host that is not + * yet ready to run the node. + * + * @author freva + * + */ +public class ParentHostNotReadyException extends RuntimeException { + + public ParentHostNotReadyException(String message) { + super(message); + } + +} |