Brings back status data type
commit6cbd31bb2e717b1a6d875f070c281b040a443fa0
authorDeni Bertovic <deni@denibertovic.com>
dateTue 9 Jan 2018, 00:45 (9 years ago)
parent09fb912
src/Docker/Client/Types.hs+1−1
@@ -538,7 +538,7 @@ instance FromJSON Container where
538538 parseJSON _ = fail "Container: Not a JSON object."
539539
540540-- | Represents the status of the container life cycle.
541−data Status = ContainerStatus T.Text
541+data Status = Created | Restarting | Running | Paused | Exited | Dead
542542 deriving (Eq, Show, Generic)
543543
544544instance FromJSON Status where