mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-04 17:18:50 +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:
parent
45240bdb71
commit
3b9b2cbe9f
5 changed files with 10 additions and 86 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue