mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-20 05:10:22 +00:00
cleanup: correct typos in test description and source code
this commit correct typos in various places. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
4c4879ba8b
commit
fcd0f4713a
@ -296,7 +296,7 @@ var _ = Describe("cephfs", func() {
|
||||
}
|
||||
})
|
||||
|
||||
By("checking nodeplugin deamonset pods are running", func() {
|
||||
By("checking nodeplugin daemonset pods are running", func() {
|
||||
err := waitForDaemonSets(cephFSDeamonSetName, cephCSINamespace, f.ClientSet, deployTimeout)
|
||||
if err != nil {
|
||||
e2elog.Failf("timeout waiting for daemonset %s: %v", cephFSDeamonSetName, err)
|
||||
|
@ -339,7 +339,7 @@ func getMetricsForPVC(f *framework.Framework, pvc *v1.PersistentVolumeClaim, t i
|
||||
return false, nil
|
||||
}
|
||||
if stdOut == "" {
|
||||
e2elog.Logf("no metrics received from kublet on IP %s", kubelet)
|
||||
e2elog.Logf("no metrics received from kubelet on IP %s", kubelet)
|
||||
|
||||
return false, nil
|
||||
}
|
||||
|
@ -148,7 +148,7 @@ func (ri *rbdImage) resyncImage() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// getImageMirroingStatus get the mirroring status of an image.
|
||||
// getImageMirroringStatus get the mirroring status of an image.
|
||||
func (ri *rbdImage) getImageMirroringStatus() (*librbd.GlobalMirrorImageStatus, error) {
|
||||
image, err := ri.open()
|
||||
if err != nil {
|
||||
|
@ -524,7 +524,7 @@ func undoVolReservation(ctx context.Context, rbdVol *rbdVolume, cr *util.Credent
|
||||
// complete omap mapping between imageName and volumeID.
|
||||
|
||||
// RegenerateJournal performs below operations
|
||||
// Extract clusterID, Mons after checkig clusterID mapping
|
||||
// Extract clusterID, Mons after checking clusterID mapping
|
||||
// Extract parameters journalPool, pool from volumeAttributes
|
||||
// Extract optional parameters volumeNamePrefix, kmsID, owner from volumeAttributes
|
||||
// Extract information from volumeID
|
||||
|
@ -942,7 +942,7 @@ func genSnapFromSnapID(
|
||||
return err
|
||||
}
|
||||
|
||||
// updateSnapshotDetails will copies the details from the rbdVolume to the
|
||||
// updateSnapshotDetails will copy the details from the rbdVolume to the
|
||||
// rbdSnapshot. example copying size from rbdVolume to rbdSnapshot.
|
||||
func updateSnapshotDetails(rbdSnap *rbdSnapshot) error {
|
||||
vol := generateVolFromSnap(rbdSnap)
|
||||
|
@ -464,7 +464,7 @@ func disableVolumeReplication(rbdVol *rbdVolume,
|
||||
// Local image is in up+replaying state
|
||||
|
||||
// If the image is in a secondary and its state is up+replaying means
|
||||
// its an healthy secondary and the image is primary somewhere in the
|
||||
// its a healthy secondary and the image is primary somewhere in the
|
||||
// remote cluster and the local image is getting replayed. Return
|
||||
// success for the Disabling mirroring as we cannot disable mirroring
|
||||
// on the secondary image, when the image on the primary site gets
|
||||
|
Loading…
Reference in New Issue
Block a user