Skip to content

Commit

Permalink
runtime_config: Replace 'MountPoints in Spec' with 'Spec.Mounts'
Browse files Browse the repository at this point in the history
I think Go's attribute syntax reads more clearly here, especially
since there is no 'Spec.MountPoints' after c18c283 (Change layout of
mountpoints and mounts, 2015-09-02, opencontainers#136).

Signed-off-by: W. Trevor King <wking@tremily.us>
  • Loading branch information
wking committed Sep 3, 2015
1 parent 8874000 commit bacee82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ package specs

type RuntimeSpec struct {
// Mounts is a mapping of names to mount configurations.
// Which mounts will be mounted and where should be chosen with MountPoints
// in Spec.
// Which mounts will be mounted and where should be chosen with Spec.Mounts.
Mounts map[string]Mount `json:"mounts"`
// Hooks are the commands run at various lifecycle events of the container.
Hooks Hooks `json:"hooks"`
Expand Down

0 comments on commit bacee82

Please sign in to comment.