fix json serialize name

Signed-off-by: haining.cao <haining.cao@daocloud.io>
pull/5716/head
haining.cao 2022-12-21 18:54:45 +08:00
parent bd370b2215
commit 544df59f58
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ type SnapshotSpec struct {
Location string `json:"location"`
// PersistentVolumeName is the Kubernetes name for the volume.
PersistentVolumeName string `json:persistentVolumeName`
PersistentVolumeName string `json:"persistentVolumeName"`
// ProviderVolumeID is the provider's ID for the volume.
ProviderVolumeID string `json:"providerVolumeID"`