diff --git a/pkg/schema/v1/node.go b/pkg/schema/v1/node.go index a90f748b..8b62d4b7 100644 --- a/pkg/schema/v1/node.go +++ b/pkg/schema/v1/node.go @@ -140,6 +140,10 @@ func (n *Node) Obtain(k8s kmetav1.Object) { } func (n *Node) getIcingaState() (IcingaState, string) { + if gracePeriodReason := IsWithinGracePeriod(n); gracePeriodReason != nil { + return Ok, *gracePeriodReason + } + var state IcingaState var reason string