cleanup: update description to generic

Since rbdImage is a common struct for
rbdVolume and rbdSnapshot, it description
was matching to only snapshot.
This commit makes the comments generic for
both volumes and snapshots.

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug 2021-04-19 10:53:55 +05:30 committed by mergify[bot]
parent 9f2cf498b6
commit 6a46f381c2

View File

@ -74,11 +74,11 @@ type rbdImage struct {
VolID string `json:"volID"` VolID string `json:"volID"`
Monitors string Monitors string
// JournalPool is the ceph pool in which the CSI snapshot Journal is // JournalPool is the ceph pool in which the CSI Journal/CSI snapshot Journal is
// stored // stored
JournalPool string JournalPool string
// Pool is where the image snapshot journal and snapshot is stored, and // Pool is where the image journal/image snapshot journal and image/snapshot
// could be the same as `JournalPool` (retained as Pool instead of // is stored, and could be the same as `JournalPool` (retained as Pool instead of
// renaming to ImagePool or such, as this is referenced in the code // renaming to ImagePool or such, as this is referenced in the code
// extensively) // extensively)
Pool string Pool string