mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
cleanup: fix misspell words
fixed misspell words detected by codespell Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
28793efc90
commit
8ebb9a1ba0
@ -59,7 +59,7 @@ csi:
|
|||||||
CreateVolume to refer to the volume on all subsequent calls.
|
CreateVolume to refer to the volume on all subsequent calls.
|
||||||
|
|
||||||
Once the static PVC is created on the secondary cluster, the Kubernetes User
|
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
|
(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
|
Delete/Expand Request. In Delete/Expand RPC request only the VolumeHandle
|
||||||
(`clusterID-poolID-volumeuniqueID`) will be sent where it contains the encoded
|
(`clusterID-poolID-volumeuniqueID`) will be sent where it contains the encoded
|
||||||
|
@ -718,7 +718,7 @@ func (conn *Connection) CheckNewUUIDMapping(ctx context.Context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ReserveNewUUIDMapping creates the omap mapping between the oldVolumeHandle
|
// 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
|
// created it will have oldVolumeHandle,the volumeHandle is composed of
|
||||||
// clusterID,PoolID etc. as the poolID and clusterID might be different at the
|
// 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
|
// secondary cluster cephcsi will generate the new mapping and keep it for
|
||||||
|
@ -480,7 +480,7 @@ func undoVolReservation(ctx context.Context, rbdVol *rbdVolume, cr *util.Credent
|
|||||||
// Reserve omap data
|
// Reserve omap data
|
||||||
// Generate new volume Handler
|
// Generate new volume Handler
|
||||||
// Create old volumeHandler to new handler mapping
|
// 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.
|
// which are not same across clusters.
|
||||||
func RegenerateJournal(imageName, volumeID, pool, journalPool, requestName string, cr *util.Credentials) error {
|
func RegenerateJournal(imageName, volumeID, pool, journalPool, requestName string, cr *util.Credentials) error {
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
@ -235,7 +235,7 @@ func detectAuthMountPath(path string) (string, error) {
|
|||||||
return "", errors.New("path is empty")
|
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
|
match := false
|
||||||
parts := strings.Split(path, "/")
|
parts := strings.Split(path, "/")
|
||||||
for _, part := range parts {
|
for _, part := range parts {
|
||||||
|
Loading…
Reference in New Issue
Block a user