mirror of https://github.com/k3s-io/k3s
commit
feb98caac2
|
@ -158,7 +158,7 @@ type Volume struct {
|
|||
// 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 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.
|
||||
|
|
|
@ -177,7 +177,7 @@ type Volume struct {
|
|||
// 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 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.
|
||||
|
|
Loading…
Reference in New Issue