1
0
mirror of synced 2026-02-13 13:06:56 +00:00

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

@@ -37,8 +37,6 @@ type statusable interface {
getObservedGeneration() int64
// this is usually implemented by GOTK API objects because it's used by pkg/apis/meta
GetStatusConditions() *[]metav1.Condition
// successMessage gives a short summary of the successful reconciliation
successMessage() string
}
func isReady(ctx context.Context, kubeClient client.Client,