This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 36b3332bb2fd5c6425b38aeccc0c18c9cd26f96c
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Fri Feb 19 09:30:57 2021 +0100

    fix(e2e): Fix APIVersion field in Pod struct
---
 e2e/support/test_support.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go
index 7a5ef96..0849e7b 100644
--- a/e2e/support/test_support.go
+++ b/e2e/support/test_support.go
@@ -887,7 +887,7 @@ func CreateKamelPod(ns string, name string, command 
...string) error {
        pod := corev1.Pod{
                TypeMeta: metav1.TypeMeta{
                        Kind:       "Pod",
-                       APIVersion: v1.SchemeGroupVersion.String(),
+                       APIVersion: corev1.SchemeGroupVersion.String(),
                },
                ObjectMeta: metav1.ObjectMeta{
                        Namespace: ns,

Reply via email to