Make "Name" attribute on mounts optional
commit14ddb2fcb10df2a0181bc79066d692e3f499da41
authorDaniel Schoepe <daniel@schoepe.org>
dateFri 22 Dec 2017, 16:52 (9 years ago)
parent4f19346
src/Docker/Client/Types.hs+1−1
@@ -246,7 +246,7 @@ data ContainerDetails = ContainerDetails {
246246-- | Data type used for parsing the mount information from a container
247247-- list.
248248data Mount = Mount {
249− mountName :: Text
249+ mountName :: Maybe Text -- this is optional
250250 , mountSource :: FilePath
251251 , mountDestination :: FilePath
252252 , mountDriver :: Text