-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
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
| memoryLimit: Int, swapLimit: Int, ipv4Forwarding: Int) |
or
tugboat/src/main/scala/Rep.scala
Line 244 in d63935b
| ("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:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels