@@ -1240,7 +1240,8 @@ instance ToJSON MemoryConstraint where
12401240instance FromJSON MemoryConstraint where
12411241 parseJSON (JSON.Number x) = case (floatingOrInteger x) of
12421242 Left (_ :: Double) -> fail "Failed to parse MemoryConstraint"
1243− Right i -> return $ MemoryConstraint i B -- | The docker daemon will always return the number as bytes (integer), regardless of how we set them (using MB or GB)
1243+ Right i -> return $ MemoryConstraint i B
1244+ -- The docker daemon will always return the number as bytes (integer), regardless of how we set them (using MB or GB)
12441245 parseJSON _ = fail "Failed to parse MemoryConstraint"
12451246
12461247data ContainerResources = ContainerResources {