mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-24 07:10:20 +00:00
rbd: add .requestName
to the commonVolumeGroup
struct
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
4b13e9132b
commit
29bf5797b0
@ -34,6 +34,9 @@ type commonVolumeGroup struct {
|
||||
// is used to find the group in the journal.
|
||||
id string
|
||||
|
||||
// requestName is passed by the caller when a group is created.
|
||||
requestName string
|
||||
|
||||
// name is used in RBD API calls as the name of this object
|
||||
name string
|
||||
|
||||
@ -130,6 +133,7 @@ func (cvg *commonVolumeGroup) getVolumeGroupAttributes(ctx context.Context) (*jo
|
||||
attrs = &journal.VolumeGroupAttributes{}
|
||||
}
|
||||
|
||||
cvg.requestName = attrs.RequestName
|
||||
cvg.name = attrs.GroupName
|
||||
cvg.creationTime = attrs.CreationTime
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user