Skip to content

Commit

Permalink
Fix json attribute for cluster monitor interval
Browse files Browse the repository at this point in the history
This should fix Fleet controller deployments complaining about the
interval being 0 when it should never be.
  • Loading branch information
weyfonk committed Oct 18, 2024
1 parent 34d1ae7 commit 8a32810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8a32810

Please sign in to comment.