Fix mount opts error message.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
(cherry picked from commit c8659d3cc5)
This commit is contained in:
Daniel Nephin 2016-06-29 15:14:55 -04:00 committed by Tibor Vass
parent f492978638
commit 0d061f680a

View file

@ -217,7 +217,7 @@ func (m *MountOpt) Set(value string) error {
}
setValueOnMap(volumeOptions().DriverConfig.Options, value)
default:
return fmt.Errorf("unexpected key '%s' in '%s'", key, value)
return fmt.Errorf("unexpected key '%s' in '%s'", key, field)
}
}