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:
Sebastiaan van Stijn
2016-07-21 01:04:51 +02:00
parent 0d2e409cad
commit acb2cc6fda
6 changed files with 20 additions and 20 deletions

View File

@ -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.