diff --git a/components/schemas/containers/config/deploy/ContainerDeployHighAvailabilityConfig.yml b/components/schemas/containers/config/deploy/ContainerDeployHighAvailabilityConfig.yml index efd1f96c..040fdce1 100644 --- a/components/schemas/containers/config/deploy/ContainerDeployHighAvailabilityConfig.yml +++ b/components/schemas/containers/config/deploy/ContainerDeployHighAvailabilityConfig.yml @@ -5,6 +5,4 @@ required: properties: stale_primary_deadline: description: The amount of time that must pass between high availability checkins before an instance is considered stale. If it is the primary, a new primary will be elected after this deadline. Minimum is 15s. - oneOf: - - $ref: ../../../Duration.yml - - type: "null" + $ref: ../../../Duration.yml diff --git a/stackspec/schema/deploy/StackSpecContainerConfigHighAvailability.yml b/stackspec/schema/deploy/StackSpecContainerConfigHighAvailability.yml index baf43c14..7b3f7a9a 100644 --- a/stackspec/schema/deploy/StackSpecContainerConfigHighAvailability.yml +++ b/stackspec/schema/deploy/StackSpecContainerConfigHighAvailability.yml @@ -5,6 +5,4 @@ required: properties: stale_primary_deadline: description: The amount of time that must pass between high availability checkins before an instance is considered stale. If it is the primary, a new primary will be elected after this deadline. Minimum is 15s. - oneOf: - - $ref: ../../../components/schemas/Duration.yml - - $ref: ../StackVariable.yml + $ref: ../../../components/schemas/Duration.yml