Skip to content

Commit

Permalink
[Dashboard] Replace DashboardLastForceSyncTime with LastForceSyncTime (
Browse files Browse the repository at this point in the history
…#1411)

* cherry pick 1410

* re-generate after review comment
  • Loading branch information
tbavelier authored Sep 12, 2024
1 parent 23cb15b commit c9cc04d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions api/datadoghq/v1alpha1/datadogdashboard_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ type DatadogDashboardStatus struct {
// CurrentHash tracks the hash of the current DatadogDashboardSpec to know
// if the Spec has changed and needs an update.
CurrentHash string `json:"currentHash,omitempty"`
// DashboardLastForceSyncTime is the last time the API dashboard was last force synced with the Datadogdashboard resource
LastForceSyncTime *metav1.Time `json:"dashboardLastForceSyncTime,omitempty"`
// LastForceSyncTime is the last time the API dashboard was last force synced with the DatadogDashboard resource
LastForceSyncTime *metav1.Time `json:"lastForceSyncTime,omitempty"`
}

type DatadogDashboardSyncStatus string
Expand Down
4 changes: 2 additions & 2 deletions api/datadoghq/v1alpha1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions config/crd/bases/v1/datadoghq.com_datadogdashboards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,13 @@ spec:
CurrentHash tracks the hash of the current DatadogDashboardSpec to know
if the Spec has changed and needs an update.
type: string
dashboardLastForceSyncTime:
description: DashboardLastForceSyncTime is the last time the API dashboard was last force synced with the Datadogdashboard resource
format: date-time
type: string
id:
description: ID is the dashboard ID generated in Datadog.
type: string
lastForceSyncTime:
description: LastForceSyncTime is the last time the API dashboard was last force synced with the DatadogDashboard resource
format: date-time
type: string
syncStatus:
description: SyncStatus shows the health of syncing the dashboard state to Datadog.
type: string
Expand Down

0 comments on commit c9cc04d

Please sign in to comment.