Change mount-types to lowercase
these values were changed to lowercase in
690cb2d08c,
but not changed accordingly in docker/docker.
this changes the mounttypes to lowercase
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 8f93128cd619e1d11be1bc0ae21f1362b1e3f9ad
Component: engine
This commit is contained in:
@ -143,12 +143,12 @@ func (m *MountPoint) Path() string {
|
||||
// Type returns the type of mount point
|
||||
func (m *MountPoint) Type() string {
|
||||
if m.Name != "" {
|
||||
return "VOLUME"
|
||||
return "volume"
|
||||
}
|
||||
if m.Source != "" {
|
||||
return "BIND"
|
||||
return "bind"
|
||||
}
|
||||
return "EPHEMERAL"
|
||||
return "ephemeral"
|
||||
}
|
||||
|
||||
// ParseVolumesFrom ensures that the supplied volumes-from is valid.
|
||||
|
||||
Reference in New Issue
Block a user