Skip to content

Commit

Permalink
update mapstructure; add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
chelseakomlo committed Dec 4, 2017
1 parent c5f77bb commit e59d8f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ IMPROVEMENTS:
* client: When `network_interface` is unspecified use interface attached to
default route [GH-3546]
* driver/docker: Detect OOM kill event [GH-3459]
* driver/docker: Add support for passing through user [GH-3612]
* driver/docker: Adds support for adding host device to container via
`--device` [GH-2938]
* driver/docker: Adds support for `ulimit` and `sysctl` options [GH-3568]
* driver/rkt: Add support for passing through user [GH-3612]
* driver/qemu: Support graceful shutdowns on unix platforms [GH-3411]
* template: Updated to consul template 0.19.4 [GH-3543]
* core/enterprise: Return 501 status code in Nomad Pro for Premium end points
Expand Down
2 changes: 1 addition & 1 deletion client/driver/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ type DockerDriverConfig struct {
MacAddress string `mapstructure:"mac_address"` // Pin mac address to container
SecurityOpt []string `mapstructure:"security_opt"` // Flags to pass directly to security-opt
Devices []DockerDevice `mapstructure:"devices"` // To allow mounting USB or other serial control devices
User string `json:"User,omitempty" yaml:"User,omitempty" toml:"User,omitempty"`
User string `mapstructure:user`
}

func sliceMergeUlimit(ulimitsRaw map[string]string) ([]docker.ULimit, error) {
Expand Down

0 comments on commit e59d8f8

Please sign in to comment.