fix json serialize name

Signed-off-by: haining.cao <haining.cao@daocloud.io>
This commit is contained in:
haining.cao
2022-12-21 18:54:45 +08:00
parent bd370b2215
commit 544df59f58

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"`