From 6a46f381c2f5023862d9be80515b41abd273c8bd Mon Sep 17 00:00:00 2001 From: Yug Date: Mon, 19 Apr 2021 10:53:55 +0530 Subject: [PATCH] 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 --- internal/rbd/rbd_util.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/rbd/rbd_util.go b/internal/rbd/rbd_util.go index 1e5b49973..11327fb4f 100644 --- a/internal/rbd/rbd_util.go +++ b/internal/rbd/rbd_util.go @@ -74,11 +74,11 @@ type rbdImage struct { VolID string `json:"volID"` 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 JournalPool string - // Pool is where the image snapshot journal and snapshot is stored, and - // could be the same as `JournalPool` (retained as Pool instead of + // Pool is where the image journal/image snapshot journal and image/snapshot + // 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 // extensively) Pool string