on master help sign in
Make "Name" attribute on mounts optional
14ddb2fDaniel Schoepe
src/Docker/Client/Types.hs+1−1
@@ -246,7 +246,7 @@ data ContainerDetails = ContainerDetails {
246-- | Data type used for parsing the mount information from a container
246-- | Data type used for parsing the mount information from a container
247-- list.
247-- list.
248data Mount = Mount {
248data Mount = Mount {
249− mountName :: Text
249+ mountName :: Maybe Text -- this is optional
250 , mountSource :: FilePath
250 , mountSource :: FilePath
251 , mountDestination :: FilePath
251 , mountDestination :: FilePath
252 , mountDriver :: Text
252 , mountDriver :: Text