For /info endpoint, API v1.19 changed some int values into boolean values, such as IPv4Forwarding, MemoryLimit and more.
So it's not compatible anymore with
|
memoryLimit: Int, swapLimit: Int, ipv4Forwarding: Int) |
or
|
("MemoryLimit", JInt(memLim)) <- info |
It seem to be the root cause for the following error when calling info:
head of empty list
java.util.NoSuchElementException: head of empty list
at scala.collection.immutable.Nil$.head(List.scala:337)
at scala.collection.immutable.Nil$.head(List.scala:334)
at tugboat.Rep$$anon$7$$anonfun$map$4.apply(Rep.scala:250)
at tugboat.Rep$$anon$7$$anonfun$map$4.apply(Rep.scala:230)
at tugboat.Docker$Completion$$anon$2.onCompleted(Docker.scala:61)
at com.ning.http.client.AsyncCompletionHandler.onCompleted(AsyncCompletionHandler.java:63)
References:
For /info endpoint, API v1.19 changed some int values into boolean values, such as IPv4Forwarding, MemoryLimit and more.
So it's not compatible anymore with
tugboat/src/main/scala/Rep.scala
Line 22 in d63935b
or
tugboat/src/main/scala/Rep.scala
Line 244 in d63935b
It seem to be the root cause for the following error when calling info:
References: