Reuse isReady from create_image commands

I implemented the isReady procedure for adapters for resume -- use it
in create too.

Signed-off-by: Michael Bridgen <michael@weave.works>
This commit is contained in:
Michael Bridgen 2020-12-08 16:56:08 +00:00
parent 45240bdb71
commit 3b9b2cbe9f
5 changed files with 10 additions and 86 deletions

View file

@ -41,6 +41,7 @@ type resumable interface {
adapter
statusable
setUnsuspended()
successMessage() string
}
type resumeCommand struct {