Skip to content

Commit 99c3a37

Browse files
Merge pull request #1054 from lance5890/typo
NO-JIRA: typo change previousily to previously
2 parents 90e49c6 + b137da6 commit 99c3a37

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

lib/capability/capability.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func (caps capabilitiesSort) Swap(i, j int) { caps[i], caps[j] = caps[j], c
3535
func (caps capabilitiesSort) Less(i, j int) bool { return string(caps[i]) < string(caps[j]) }
3636

3737
// SetCapabilities populates and returns cluster capabilities from ClusterVersion capabilities spec. This method also
38-
// ensures that no previousily enabled capability is now disabled and returns any such implicitly enabled capabilities.
38+
// ensures that no previously enabled capability is now disabled and returns any such implicitly enabled capabilities.
3939
func SetCapabilities(config *configv1.ClusterVersion,
4040
existingEnabled, alwaysEnabled map[configv1.ClusterVersionCapability]struct{}) ClusterCapabilities {
4141

@@ -148,7 +148,7 @@ func setKnownCapabilities() map[configv1.ClusterVersionCapability]struct{} {
148148

149149
// setEnabledCapabilities populates a map keyed by capability from all enabled capabilities as defined in ClusterVersion.
150150
// DefaultCapabilitySet is used if a baseline capability set is not defined by ClusterVersion. A check is then made to
151-
// ensure that no previousily enabled capability is now disabled and if any such capabilities are found each is enabled,
151+
// ensure that no previously enabled capability is now disabled and if any such capabilities are found each is enabled,
152152
// saved, and returned.
153153
// The required capabilities are added to the implicitly enabled.
154154
func setEnabledCapabilities(capabilitiesSpec *configv1.ClusterVersionCapabilitiesSpec,

lib/resourcedelete/apiext.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
// DeleteCustomResourceDefinitionv1 checks the given resource for a valid delete annotation. If found
13-
// it checks the status of a previousily issued delete request. If delete has not been
13+
// it checks the status of a previously issued delete request. If delete has not been
1414
// requested and in UpdatingMode it will issue a delete request.
1515
func DeleteCustomResourceDefinitionv1(ctx context.Context, client apiextclientv1.CustomResourceDefinitionsGetter,
1616
required *apiextv1.CustomResourceDefinition, updateMode bool) (bool, error) {

lib/resourcedelete/apps.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
// DeleteDeploymentv1 checks the given resource for a valid delete annotation. If found
13-
// it checks the status of a previousily issued delete request. If delete has not been
13+
// it checks the status of a previously issued delete request. If delete has not been
1414
// requested and in UpdatingMode it will issue a delete request.
1515
func DeleteDeploymentv1(ctx context.Context, client appsclientv1.DeploymentsGetter, required *appsv1.Deployment,
1616
updateMode bool) (bool, error) {
@@ -39,7 +39,7 @@ func DeleteDeploymentv1(ctx context.Context, client appsclientv1.DeploymentsGett
3939
}
4040

4141
// DeleteDaemonSetv1 checks the given resource for a valid delete annotation. If found
42-
// it checks the status of a previousily issued delete request. If delete has not been
42+
// it checks the status of a previously issued delete request. If delete has not been
4343
// requested and in UpdatingMode it will issue a delete request.
4444
func DeleteDaemonSetv1(ctx context.Context, client appsclientv1.DaemonSetsGetter, required *appsv1.DaemonSet,
4545
updateMode bool) (bool, error) {

lib/resourcedelete/core.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
// DeleteNamespacev1 checks the given resource for a valid delete annotation. If found
13-
// it checks the status of a previousily issued delete request. If delete has not been
13+
// it checks the status of a previously issued delete request. If delete has not been
1414
// requested and in UpdatingMode it will issue a delete request.
1515
func DeleteNamespacev1(ctx context.Context, client coreclientv1.NamespacesGetter, required *corev1.Namespace,
1616
updateMode bool) (bool, error) {
@@ -39,7 +39,7 @@ func DeleteNamespacev1(ctx context.Context, client coreclientv1.NamespacesGetter
3939
}
4040

4141
// DeleteServicev1 checks the given resource for a valid delete annotation. If found
42-
// it checks the status of a previousily issued delete request. If delete has not been
42+
// it checks the status of a previously issued delete request. If delete has not been
4343
// requested and in UpdatingMode it will issue a delete request.
4444
func DeleteServicev1(ctx context.Context, client coreclientv1.ServicesGetter, required *corev1.Service,
4545
updateMode bool) (bool, error) {
@@ -68,7 +68,7 @@ func DeleteServicev1(ctx context.Context, client coreclientv1.ServicesGetter, re
6868
}
6969

7070
// DeleteServiceAccountv1 checks the given resource for a valid delete annotation. If found
71-
// it checks the status of a previousily issued delete request. If delete has not been
71+
// it checks the status of a previously issued delete request. If delete has not been
7272
// requested and in UpdatingMode it will issue a delete request.
7373
func DeleteServiceAccountv1(ctx context.Context, client coreclientv1.ServiceAccountsGetter, required *corev1.ServiceAccount,
7474
updateMode bool) (bool, error) {
@@ -97,7 +97,7 @@ func DeleteServiceAccountv1(ctx context.Context, client coreclientv1.ServiceAcco
9797
}
9898

9999
// DeleteConfigMapv1 checks the given resource for a valid delete annotation. If found
100-
// it checks the status of a previousily issued delete request. If delete has not been
100+
// it checks the status of a previously issued delete request. If delete has not been
101101
// requested and in UpdatingMode it will issue a delete request.
102102
func DeleteConfigMapv1(ctx context.Context, client coreclientv1.ConfigMapsGetter, required *corev1.ConfigMap,
103103
updateMode bool) (bool, error) {

lib/resourcedelete/imagestream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
// DeleteImageStreamv1 checks the given resource for a valid delete annotation. If found
13-
// it checks the status of a previousily issued delete request. If delete has not been
13+
// it checks the status of a previously issued delete request. If delete has not been
1414
// requested and in UpdatingMode it will issue a delete request.
1515
func DeleteImageStreamv1(ctx context.Context, client imageclientv1.ImageStreamsGetter, required *imagev1.ImageStream,
1616
updateMode bool) (bool, error) {

lib/resourcedelete/rbac.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
// DeleteClusterRoleBindingv1 checks the given resource for a valid delete annotation. If found
13-
// it checks the status of a previousily issued delete request. If delete has not been
13+
// it checks the status of a previously issued delete request. If delete has not been
1414
// requested and in UpdatingMode it will issue a delete request.
1515
func DeleteClusterRoleBindingv1(ctx context.Context, client rbacclientv1.ClusterRoleBindingsGetter, required *rbacv1.ClusterRoleBinding,
1616
updateMode bool) (bool, error) {
@@ -39,7 +39,7 @@ func DeleteClusterRoleBindingv1(ctx context.Context, client rbacclientv1.Cluster
3939
}
4040

4141
// DeleteClusterRolev1 checks the given resource for a valid delete annotation. If found
42-
// it checks the status of a previousily issued delete request. If delete has not been
42+
// it checks the status of a previously issued delete request. If delete has not been
4343
// requested and in UpdatingMode it will issue a delete request.
4444
func DeleteClusterRolev1(ctx context.Context, client rbacclientv1.ClusterRolesGetter, required *rbacv1.ClusterRole,
4545
updateMode bool) (bool, error) {
@@ -68,7 +68,7 @@ func DeleteClusterRolev1(ctx context.Context, client rbacclientv1.ClusterRolesGe
6868
}
6969

7070
// DeleteRoleBindingv1 checks the given resource for a valid delete annotation. If found
71-
// it checks the status of a previousily issued delete request. If delete has not been
71+
// it checks the status of a previously issued delete request. If delete has not been
7272
// requested and in UpdatingMode it will issue a delete request.
7373
func DeleteRoleBindingv1(ctx context.Context, client rbacclientv1.RoleBindingsGetter, required *rbacv1.RoleBinding,
7474
updateMode bool) (bool, error) {
@@ -97,7 +97,7 @@ func DeleteRoleBindingv1(ctx context.Context, client rbacclientv1.RoleBindingsGe
9797
}
9898

9999
// DeleteRolev1 checks the given resource for a valid delete annotation. If found
100-
// it checks the status of a previousily issued delete request. If delete has not been
100+
// it checks the status of a previously issued delete request. If delete has not been
101101
// requested and in UpdatingMode it will issue a delete request.
102102
func DeleteRolev1(ctx context.Context, client rbacclientv1.RolesGetter, required *rbacv1.Role,
103103
updateMode bool) (bool, error) {

lib/resourcedelete/security.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
// DeleteSecurityContextConstraintsv1 checks the given resource for a valid delete annotation. If found
13-
// it checks the status of a previousily issued delete request. If delete has not been
13+
// it checks the status of a previously issued delete request. If delete has not been
1414
// requested and in UpdatingMode it will issue a delete request.
1515
func DeleteSecurityContextConstraintsv1(ctx context.Context, client securityclientv1.SecurityContextConstraintsGetter,
1616
required *securityv1.SecurityContextConstraints, updateMode bool) (bool, error) {

pkg/cvo/cvo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ func (optr *Operator) rememberLastUpdate(config *configv1.ClusterVersion) {
789789
}
790790

791791
// getClusterVersion returns the cluster version object, with an indication of whether it's older
792-
// than the previousily returned and saved cluster version object, or an error.
792+
// than the previously returned and saved cluster version object, or an error.
793793
func (optr *Operator) getClusterVersion() (*configv1.ClusterVersion, bool, error) {
794794
obj, err := optr.cvLister.Get(optr.name)
795795
if err == nil {

pkg/cvo/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const DesiredReleaseAccepted configv1.ClusterStatusConditionType = "ReleaseAccep
170170

171171
// ImplicitlyEnabledCapabilities is True if there are enabled capabilities which the user is not currently
172172
// requesting via spec.capabilities, because the cluster version operator does not support uninstalling
173-
// capabilities if any associated resources were previously managed by the CVO or disabling previousily
173+
// capabilities if any associated resources were previously managed by the CVO or disabling previously
174174
// enabled capabilities.
175175
const ImplicitlyEnabledCapabilities configv1.ClusterStatusConditionType = "ImplicitlyEnabledCapabilities"
176176

0 commit comments

Comments
 (0)