diff --git a/docs/design/proposals/rbd-mirror.md b/docs/design/proposals/rbd-mirror.md index c0ecacfd4..f66ced4a3 100644 --- a/docs/design/proposals/rbd-mirror.md +++ b/docs/design/proposals/rbd-mirror.md @@ -59,7 +59,7 @@ csi: CreateVolume to refer to the volume on all subsequent calls. Once the static PVC is created on the secondary cluster, the Kubernetes User -can try delete the PVC,expand the PVC or mount the PVC. Incase of mounting +can try delete the PVC,expand the PVC or mount the PVC. In case of mounting (NodeStageVolume) we will get the volume context in RPC call but not in the Delete/Expand Request. In Delete/Expand RPC request only the VolumeHandle (`clusterID-poolID-volumeuniqueID`) will be sent where it contains the encoded diff --git a/internal/journal/voljournal.go b/internal/journal/voljournal.go index 5b44f3d3e..a920a704e 100644 --- a/internal/journal/voljournal.go +++ b/internal/journal/voljournal.go @@ -718,7 +718,7 @@ func (conn *Connection) CheckNewUUIDMapping(ctx context.Context, } // ReserveNewUUIDMapping creates the omap mapping between the oldVolumeHandle -// and the newVolumeHandle. Incase of Async Mirroring the PV is statically +// and the newVolumeHandle. In case of Async Mirroring the PV is statically // created it will have oldVolumeHandle,the volumeHandle is composed of // clusterID,PoolID etc. as the poolID and clusterID might be different at the // secondary cluster cephcsi will generate the new mapping and keep it for diff --git a/internal/rbd/rbd_journal.go b/internal/rbd/rbd_journal.go index 1b525e186..3fcabc868 100644 --- a/internal/rbd/rbd_journal.go +++ b/internal/rbd/rbd_journal.go @@ -480,7 +480,7 @@ func undoVolReservation(ctx context.Context, rbdVol *rbdVolume, cr *util.Credent // Reserve omap data // Generate new volume Handler // Create old volumeHandler to new handler mapping -// The volume handler wont remain same as its contains poolID,clusterID etc +// The volume handler won't remain same as its contains poolID,clusterID etc // which are not same across clusters. func RegenerateJournal(imageName, volumeID, pool, journalPool, requestName string, cr *util.Credentials) error { ctx := context.Background() diff --git a/internal/util/vault.go b/internal/util/vault.go index da1e31dca..2720526a9 100644 --- a/internal/util/vault.go +++ b/internal/util/vault.go @@ -235,7 +235,7 @@ func detectAuthMountPath(path string) (string, error) { return "", errors.New("path is empty") } - // add all components betweed "login" and "auth" to authMountPath + // add all components between "login" and "auth" to authMountPath match := false parts := strings.Split(path, "/") for _, part := range parts {