mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
Merge pull request #5142 from fluxcd/fix-create-cmd
Fix create command always using imageRepositoryType
This commit is contained in:
commit
16ae23a3a6
2 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ func (names apiType) upsertAndWait(object upsertWaitable, mutate func() error) e
|
|||
logger.Generatef("generating %s", names.kind)
|
||||
logger.Actionf("applying %s", names.kind)
|
||||
|
||||
namespacedName, err := imageRepositoryType.upsert(ctx, kubeClient, object, mutate)
|
||||
namespacedName, err := names.upsert(ctx, kubeClient, object, mutate)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
✚ generating ImagePolicy
|
||||
► applying ImagePolicy
|
||||
✔ ImageRepository created
|
||||
✔ ImagePolicy created
|
||||
◎ waiting for ImagePolicy reconciliation
|
||||
✔ ImagePolicy reconciliation completed
|
||||
|
|
|
|||
Loading…
Reference in a new issue