on master help sign in
Small doc fix
commit406924cfbdcb07e3596861209b6043df60a4cd4b authorDeni Bertovic <deni@denibertovic.com> dateTue 6 Sep 2016, 22:10 (10 years ago) parentb5d98d6
1 file changed+2−1
src/Docker/Client/Types.hs+2−1
src/Docker/Client/Types.hs+2−1
@@ -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 {