Skip to content

Commit 483a14f

Browse files
committed
fix(Core): Fixed the Operator's RunnerDefinition by making its Certificates property optional
Signed-off-by: Charles d'Avernas <[email protected]>
1 parent 777ef31 commit 483a14f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/Synapse.Core/Resources/RunnerDefinition.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public record RunnerDefinition
4343
/// <summary>
4444
/// Gets/sets the endpoint that references the base address and authentication policy for the Synapse API used by runners
4545
/// </summary>
46-
[Required]
4746
[DataMember(Order = 3, Name = "certificates"), JsonPropertyOrder(3), JsonPropertyName("certificates"), YamlMember(Order = 3, Alias = "certificates")]
48-
public virtual CertificateValidationStrategyDefinition Certificates { get; set; } = null!;
47+
public virtual CertificateValidationStrategyDefinition? Certificates { get; set; }
4948

5049
}

0 commit comments

Comments
 (0)