mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #5075 from thockin/fix_inline
Fix VolumeSource inline in JSON
This commit is contained in:
commit
feb98caac2
@ -158,7 +158,7 @@ type Volume struct {
|
|||||||
// The VolumeSource represents the location and type of a volume to mount.
|
// The VolumeSource represents the location and type of a volume to mount.
|
||||||
// This is optional for now. If not specified, the Volume is implied to be an EmptyDir.
|
// This is optional for now. If not specified, the Volume is implied to be an EmptyDir.
|
||||||
// This implied behavior is deprecated and will be removed in a future version.
|
// This implied behavior is deprecated and will be removed in a future version.
|
||||||
VolumeSource `json:"inline,omitempty"`
|
VolumeSource `json:",inline,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// VolumeSource represents the source location of a volume to mount.
|
// VolumeSource represents the source location of a volume to mount.
|
||||||
|
@ -177,7 +177,7 @@ type Volume struct {
|
|||||||
// Source represents the location and type of a volume to mount.
|
// Source represents the location and type of a volume to mount.
|
||||||
// This is optional for now. If not specified, the Volume is implied to be an EmptyDir.
|
// This is optional for now. If not specified, the Volume is implied to be an EmptyDir.
|
||||||
// This implied behavior is deprecated and will be removed in a future version.
|
// This implied behavior is deprecated and will be removed in a future version.
|
||||||
VolumeSource `json:"inline,omitempty"`
|
VolumeSource `json:",inline,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// VolumeSource represents the source location of a valume to mount.
|
// VolumeSource represents the source location of a valume to mount.
|
||||||
|
Loading…
Reference in New Issue
Block a user