Skip to content

Commit 2d2e1dc

Browse files
authored
Merge pull request #199 from ndeloof/blkio_config
map blkio_config
2 parents 8c700f3 + 8471f12 commit 2d2e1dc

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)