From 26309e846b6942550a9797db41866b0b3da5e50c Mon Sep 17 00:00:00 2001 From: j-aub <37088847+j-aub@users.noreply.github.com> Date: Wed, 14 Aug 2024 01:21:41 -0400 Subject: [PATCH] add the `Options` field to `TempfsOptions` (#1077) Co-authored-by: j-aub --- container.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/container.go b/container.go index 0eea041e..e5dafe0f 100644 --- a/container.go +++ b/container.go @@ -318,8 +318,9 @@ type VolumeOptions struct { // TempfsOptions contains optional configuration for the tempfs type type TempfsOptions struct { - SizeBytes int64 `json:"SizeBytes,omitempty" yaml:"SizeBytes,omitempty" toml:"SizeBytes,omitempty"` - Mode int `json:"Mode,omitempty" yaml:"Mode,omitempty" toml:"Mode,omitempty"` + SizeBytes int64 `json:"SizeBytes,omitempty" yaml:"SizeBytes,omitempty" toml:"SizeBytes,omitempty"` + Mode int `json:"Mode,omitempty" yaml:"Mode,omitempty" toml:"Mode,omitempty"` + Options [][]string `json:"Options,omitempty" yaml:"Options,omitempty" toml:"Options,omitempty"` } // VolumeDriverConfig holds a map of volume driver specific options