Skip to content

Commit

Permalink
cleanup: fix spelling mistakes
Browse files Browse the repository at this point in the history
Signed-off-by: Niels de Vos <[email protected]>
  • Loading branch information
nixpanic authored and mergify[bot] committed Oct 12, 2023
1 parent 7f72946 commit 0126d83
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion controllers/csiaddons/persistentvolumeclaim_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (r *PersistentVolumeClaimReconciler) checkDriverSupportReclaimsSpace(logger
}

// determineScheduleAndRequeue determines the schedule using the following steps
// - Check if the schedule is persent in the PVC annotations. If yes, use that.
// - Check if the schedule is present in the PVC annotations. If yes, use that.
// - Check if the schedule is present in the namespace annotations. If yes,
// use that.
// - If schedule is not present in namespace annotations, return ErrorScheduleNotFound.
Expand Down
2 changes: 1 addition & 1 deletion controllers/csiaddons/reclaimspacecronjob_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (r *ReclaimSpaceCronJobReconciler) Reconcile(ctx context.Context, req ctrl.

// We'll prep our eventual request to requeue until the next job, and then figure
// out if we actually need to run.
scheduledResult := ctrl.Result{RequeueAfter: time.Until(nextRun)} // save this so we can re-use it elsewhere
scheduledResult := ctrl.Result{RequeueAfter: time.Until(nextRun)} // save this so we can reuse it elsewhere
logger = logger.WithValues("now", time.Now(), "nextRun", nextRun)

// If we've missed a run, and we're still within the deadline to start it, we'll need to run a job.
Expand Down
2 changes: 1 addition & 1 deletion internal/proto/reclaimspace.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package proto;

option go_package = "github.com/csi-addons/kubernetes-csi-addons/internal/proto";

// ReclaimSpace holds the RPC menthod for allowing the
// ReclaimSpace holds the RPC method for allowing the
// communication between the CSIAddons controller and the sidecar.
service ReclaimSpace {
// ControllerReclaimSpace is a procedure that gets called on the CSI
Expand Down
2 changes: 1 addition & 1 deletion internal/proto/replication.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "google/protobuf/timestamp.proto";

option go_package = "github.com/csi-addons/kubernetes-csi-addons/internal/proto";

// Replication holds the RPC menthod for allowing the communication between
// Replication holds the RPC method for allowing the communication between
// the CSIAddons controller and the sidecar for replication operation.
service Replication {
// EnableVolumeReplication RPC call to enable the volume replication.
Expand Down

0 comments on commit 0126d83

Please sign in to comment.