Skip to content

Commit

Permalink
Apply suggestions for comments
Browse files Browse the repository at this point in the history
Co-authored-by: Corentin Néau <[email protected]>
  • Loading branch information
aruiz14 and weyfonk authored Jan 15, 2025
1 parent 63f67a3 commit c8dbc2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/agent/deployer/monitor/updatestatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func calculateResourceCounts(all []fleet.BundleDeploymentResource, nonReady []fl
}] = struct{}{}
}

// The agent must have enough visibility to determine exact state of every resource.
// The agent must have enough visibility to determine the exact state of every resource.
// e.g. "WaitApplied" or "Unknown" states do not make sense in this context
counts := fleet.ResourceCounts{
DesiredReady: len(all),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ type BundleDeploymentStatus struct {
NonReadyStatus []NonReadyStatus `json:"nonReadyStatus,omitempty"`
// +nullable
ModifiedStatus []ModifiedStatus `json:"modifiedStatus,omitempty"`
// IncompleteState is true if there are more than 10 non-ready or modified resources, meaning that the list in those fields were truncated.
// IncompleteState is true if there are more than 10 non-ready or modified resources, meaning that the lists in those fields have been truncated.
IncompleteState bool `json:"incompleteState,omitempty"`
// +nullable
Display BundleDeploymentDisplay `json:"display,omitempty"`
Expand Down

0 comments on commit c8dbc2b

Please sign in to comment.