This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 9b52a9a0d12c62a0065336a40bc2f360fbf47ae1 Author: Gregorius Bima Kharisma Wicaksana <[email protected]> AuthorDate: Sun Dec 14 17:06:58 2025 +0700 style: add blank line before return statements (nlreturn) --- pkg/cmd/promote.go | 1 + pkg/trait/util.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/cmd/promote.go b/pkg/cmd/promote.go index 88d3dd6d0..6824132b8 100644 --- a/pkg/cmd/promote.go +++ b/pkg/cmd/promote.go @@ -227,6 +227,7 @@ func (o *promoteCmdOptions) getIntegrationKit(c client.Client, ref *corev1.Objec if ref == nil { return nil, nil } + return kubernetes.GetIntegrationKit(o.Context, c, ref.Name, ref.Namespace) } diff --git a/pkg/trait/util.go b/pkg/trait/util.go index b87bfcf1c..81b3f3018 100644 --- a/pkg/trait/util.go +++ b/pkg/trait/util.go @@ -52,6 +52,7 @@ func getIntegrationKit(ctx context.Context, c client.Client, integration *v1.Int if integration.Status.IntegrationKit == nil { return nil, nil } + return kubernetes.GetIntegrationKit(ctx, c, integration.Status.IntegrationKit.Name, integration.Status.IntegrationKit.Namespace) }
