You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2021/03/19 15:18:54 UTC

[camel-k] 08/13: fix: Replace Kaniko task in builder trait tests

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 f71345baa1e9ee56407246520a846d078897e24e
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Thu Mar 18 16:06:51 2021 +0100

    fix: Replace Kaniko task in builder trait tests
---
 pkg/trait/builder_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/trait/builder_test.go b/pkg/trait/builder_test.go
index 697dfd6..2bce1b5 100644
--- a/pkg/trait/builder_test.go
+++ b/pkg/trait/builder_test.go
@@ -97,7 +97,7 @@ func TestKanikoBuilderTrait(t *testing.T) {
 	assert.NotEmpty(t, env.BuildTasks)
 	assert.Len(t, env.BuildTasks, 2)
 	assert.NotNil(t, env.BuildTasks[0].Builder)
-	assert.NotNil(t, env.BuildTasks[1].Image)
+	assert.NotNil(t, env.BuildTasks[1].Kaniko)
 }
 
 func createBuilderTestEnv(cluster v1.IntegrationPlatformCluster, strategy v1.IntegrationPlatformBuildPublishStrategy) *Environment {