Skip to content

Commit

Permalink
change DisruptionSpec to Disruption and its description
Browse files Browse the repository at this point in the history
Signed-off-by: hitesh-wani-px <hwani+github@purestorage.com>
  • Loading branch information
hitesh-wani-px committed Jun 11, 2024
1 parent 2e6a04a commit e464b65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/apis/core/v1/storagecluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,11 @@ type RollingUpdateStorageCluster struct {
// The default behavior is non-disruptive upgrades. This setting disables the default
// non-disruptive upgrades and reverts to the previous behavior of upgrading nodes in
// parallel without worrying about disruption.
Disruption DisruptionSpec `json:"disruption,omitempty"`
Disruption Disruption `json:"disruption,omitempty"`
}

// DisruptionSpec contains disruption details
type DisruptionSpec struct {
// Disruption contains configuration for disruption
type Disruption struct {
// Flag indicates whether updates are non-disruptive or disruptive.
Allow *bool `json:"allow,omitempty"`
}
Expand Down

0 comments on commit e464b65

Please sign in to comment.