Skip to content

Commit 8471f12

Browse files
committed
map blkio_config
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 8c700f3 commit 8471f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ type ServiceConfig struct {
8989
Profiles []string `mapstructure:"profiles" yaml:"profiles,omitempty" json:"profiles,omitempty"`
9090

9191
Build *BuildConfig `yaml:",omitempty" json:"build,omitempty"`
92-
BlkioConfig *BlkioConfig `yaml:",omitempty" json:"blkio_config,omitempty"`
92+
BlkioConfig *BlkioConfig `mapstructure:"blkio_config" yaml:",omitempty" json:"blkio_config,omitempty"`
9393
CapAdd []string `mapstructure:"cap_add" yaml:"cap_add,omitempty" json:"cap_add,omitempty"`
9494
CapDrop []string `mapstructure:"cap_drop" yaml:"cap_drop,omitempty" json:"cap_drop,omitempty"`
9595
CgroupParent string `mapstructure:"cgroup_parent" yaml:"cgroup_parent,omitempty" json:"cgroup_parent,omitempty"`

0 commit comments

Comments
 (0)