diff --git a/pkg/volume/snapshot.go b/pkg/volume/snapshot.go index eb115e8cb..747440114 100644 --- a/pkg/volume/snapshot.go +++ b/pkg/volume/snapshot.go @@ -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"`