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 9beb4c50facbc1bade80672ada2d851515145d70 Author: Antonin Stefanutti <[email protected]> AuthorDate: Thu Mar 18 16:03:24 2021 +0100 chore: Remove unused helper method --- pkg/apis/camel/v1/build_types_support.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkg/apis/camel/v1/build_types_support.go b/pkg/apis/camel/v1/build_types_support.go index 8a9ef09..9b5c332 100644 --- a/pkg/apis/camel/v1/build_types_support.go +++ b/pkg/apis/camel/v1/build_types_support.go @@ -22,16 +22,6 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) -// GetName -- -func (t *Task) GetName() string { - if t.Builder != nil { - return t.Builder.Name - } else if t.Image != nil { - return t.Image.Name - } - return "" -} - // NewBuild -- func NewBuild(namespace string, name string) Build { return Build{
