rbd: remove json tag from rbdVolume struct

as we are no longer supporting the v1.x
version of cephcsi. removing the json tag
used to store rbd volume details in configmap.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-12-20 19:33:52 +05:30 committed by mergify[bot]
parent 124281519f
commit a0829e9e93

View File

@ -153,21 +153,21 @@ type rbdVolume struct {
// Parent Pool is the pool that contains the parent image. // Parent Pool is the pool that contains the parent image.
ParentPool string ParentPool string
imageFeatureSet librbd.FeatureSet imageFeatureSet librbd.FeatureSet
AdminID string `json:"adminId"` AdminID string
UserID string `json:"userId"` UserID string
Mounter string `json:"mounter"` Mounter string
ReservedID string ReservedID string
MapOptions string MapOptions string
UnmapOptions string UnmapOptions string
LogDir string LogDir string
LogStrategy string LogStrategy string
VolName string `json:"volName"` VolName string
MonValueFromSecret string `json:"monValueFromSecret"` MonValueFromSecret string
VolSize int64 `json:"volSize"` VolSize int64
// RequestedVolSize has the size of the volume requested by the user and // RequestedVolSize has the size of the volume requested by the user and
// this value will not be updated when doing getImageInfo() on rbdVolume. // this value will not be updated when doing getImageInfo() on rbdVolume.
RequestedVolSize int64 RequestedVolSize int64
DisableInUseChecks bool `json:"disableInUseChecks"` DisableInUseChecks bool
readOnly bool readOnly bool
Primary bool Primary bool
ThickProvision bool ThickProvision bool