Skip to content

Commit 26309e8

Browse files
authored
add the Options field to TempfsOptions (#1077)
Co-authored-by: j-aub <[email protected]>
1 parent 9c3440a commit 26309e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

container.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,9 @@ type VolumeOptions struct {
318318

319319
// TempfsOptions contains optional configuration for the tempfs type
320320
type TempfsOptions struct {
321-
SizeBytes int64 `json:"SizeBytes,omitempty" yaml:"SizeBytes,omitempty" toml:"SizeBytes,omitempty"`
322-
Mode int `json:"Mode,omitempty" yaml:"Mode,omitempty" toml:"Mode,omitempty"`
321+
SizeBytes int64 `json:"SizeBytes,omitempty" yaml:"SizeBytes,omitempty" toml:"SizeBytes,omitempty"`
322+
Mode int `json:"Mode,omitempty" yaml:"Mode,omitempty" toml:"Mode,omitempty"`
323+
Options [][]string `json:"Options,omitempty" yaml:"Options,omitempty" toml:"Options,omitempty"`
323324
}
324325

325326
// VolumeDriverConfig holds a map of volume driver specific options

0 commit comments

Comments
 (0)