Parse status information from correct field
commit4f193468cc8c4d7b8f7b946ec57609ccfc75efd7
authorDaniel Schoepe <daniel@schoepe.org>
dateFri 22 Dec 2017, 16:52 (9 years ago)
parent77b8e71
src/Docker/Client/Types.hs+1−1
@@ -526,7 +526,7 @@ instance FromJSON Container where
526526 <*> (v .: "ImageID")
527527 <*> (v .: "Command")
528528 <*> (v .: "Created")
529− <*> (v .: "Status")
529+ <*> (v .: "State")
530530 <*> (v .: "Ports")
531531 <*> (v .: "Labels")
532532 <*> (v .: "NetworkSettings" >>= parseNetworks)