Skip to content

Commit 8a32810

Browse files
committed
Fix json attribute for cluster monitor interval
This should fix Fleet controller deployments complaining about the interval being 0 when it should never be.
1 parent 34d1ae7 commit 8a32810

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ type Config struct {
120120
GarbageCollectionInterval metav1.Duration `json:"garbageCollectionInterval,omitempty"`
121121

122122
// ClusterMonitorInterval determines how often the cluster monitor will check for offline downstream clusters.
123-
ClusterMonitorInterval metav1.Duration `json:"clusterMonitorInterval.omitempty"`
123+
ClusterMonitorInterval metav1.Duration `json:"clusterMonitorInterval,omitempty"`
124124

125125
// ClusterMonitorThreshold determines how long must have elapsed since a downstream cluster's Fleet agent last
126126
// reported its status to the management cluster, before that downstream cluster is considered offline.

0 commit comments

Comments
 (0)