Skip to content

Commit

Permalink
Fix typos in drpc and vrg apis
Browse files Browse the repository at this point in the history
Fix typos in comments included in generated crd:
ramendr.openshift.io_drplacementcontrols.yaml

Signed-off-by: Nir Soffer <[email protected]>
  • Loading branch information
nirs authored and ShyamsundarR committed Dec 4, 2024
1 parent 7a99ace commit ea2c157
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions api/v1alpha1/drplacementcontrol_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const (

// Deploying, state recorded in the DRPC status to indicate that the
// initial deployment is in progress. Deploying means selecting the
// preffered cluster and creating a VRG MW for it and waiting for MW
// preferred cluster and creating a VRG MW for it and waiting for MW
// to be applied in the managed cluster
Deploying = DRState("Deploying")

Expand Down Expand Up @@ -144,7 +144,7 @@ type DRPlacementControlSpec struct {
PreferredCluster string `json:"preferredCluster,omitempty"`

// FailoverCluster is the cluster name that the user wants to failover the application to.
// If not sepcified, then the DRPC will select the surviving cluster from the DRPolicy
// If not specified, then the DRPC will select the surviving cluster from the DRPolicy
FailoverCluster string `json:"failoverCluster,omitempty"`

// Label selector to identify all the PVCs that need DR protection.
Expand Down Expand Up @@ -194,7 +194,7 @@ type VRGResourceMeta struct {
// VRGConditions represents the conditions of the resources deployed on a
// managed cluster.
type VRGConditions struct {
// ResourceMeta represents the VRG resoure.
// ResourceMeta represents the VRG resource.
ResourceMeta VRGResourceMeta `json:"resourceMeta,omitempty"`

// Conditions represents the conditions of this resource on a managed cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ spec:
failoverCluster:
description: |-
FailoverCluster is the cluster name that the user wants to failover the application to.
If not sepcified, then the DRPC will select the surviving cluster from the DRPolicy
If not specified, then the DRPC will select the surviving cluster from the DRPolicy
type: string
kubeObjectProtection:
properties:
Expand Down Expand Up @@ -493,7 +493,7 @@ spec:
type: object
type: array
resourceMeta:
description: ResourceMeta represents the VRG resoure.
description: ResourceMeta represents the VRG resource.
properties:
generation:
description: A sequence number representing a specific generation
Expand Down

0 comments on commit ea2c157

Please sign in to comment.