Skip to content

Commit f05f86a

Browse files
authored
fix nfs properties subpath tag (#4299)
Signed-off-by: Patrick Zhao <zhaoyu@koderover.com>
1 parent 850a78d commit f05f86a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/types/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type NFSProperties struct {
4949
StorageSizeInGiB int64 `json:"storage_size_in_gib" bson:"storage_size_in_gib" yaml:"storage_size_in_gib"`
5050
PVC string `json:"pvc" bson:"pvc" yaml:"pvc"`
5151
AccessMode corev1.PersistentVolumeAccessMode `json:"access_mode" bson:"access_mode" yaml:"access_mode"`
52-
Subpath string `json:"sub_path" bson:"sub_path" yaml:"sub_path"`
52+
Subpath string `json:"subpath" bson:"subpath" yaml:"subpath"`
5353
MountPath string `json:"mount_path" bson:"mount_path" yaml:"mount_path"`
5454
IsTemporary bool `json:"is_temporary" bson:"is_temporary" yaml:"is_temporary"`
5555
}

0 commit comments

Comments
 (0)