We shouldn't use `andThen` here, because the Future should only complete after the pause operation has finished, `andThen` doesn't do that.
```scala super.suspend().flatMap(_ => if(useRunc) runc.pause(id) else docker.pause(id)) ``` Should be the way to go. We shouldn't ignore a failure of `super.suspend`, should we? [ Full content available at: https://github.com/apache/incubator-openwhisk/pull/3976 ] This message was relayed via gitbox.apache.org for [email protected]
