From 8a3281013ab9683b1c144cee7a1cc3f58b16a714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20N=C3=A9au?= Date: Fri, 18 Oct 2024 16:50:22 +0200 Subject: [PATCH] Fix json attribute for cluster monitor interval This should fix Fleet controller deployments complaining about the interval being 0 when it should never be. --- internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index 927bad905c..beae6a5720 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -120,7 +120,7 @@ type Config struct { GarbageCollectionInterval metav1.Duration `json:"garbageCollectionInterval,omitempty"` // ClusterMonitorInterval determines how often the cluster monitor will check for offline downstream clusters. - ClusterMonitorInterval metav1.Duration `json:"clusterMonitorInterval.omitempty"` + ClusterMonitorInterval metav1.Duration `json:"clusterMonitorInterval,omitempty"` // ClusterMonitorThreshold determines how long must have elapsed since a downstream cluster's Fleet agent last // reported its status to the management cluster, before that downstream cluster is considered offline.