From 1c2273e58c47fe25dbaff7e5d508c70f46f4af91 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Thu, 6 Feb 2020 14:58:55 +0100 Subject: [PATCH] =?UTF-8?q?Add=20nolint:=20golint=20to=20conversion=20file?= =?UTF-8?q?=20=F0=9F=91=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The main reason is to not run into error forcing us to use the same receiver name for all function. The receiver name are different for a good reason. Signed-off-by: Vincent Demeester --- pkg/apis/pipeline/v1alpha1/cluster_task_conversion.go | 1 + pkg/apis/pipeline/v1alpha1/pipeline_conversion.go | 1 + pkg/apis/pipeline/v1alpha1/task_conversion.go | 1 + pkg/apis/pipeline/v1alpha2/cluster_task_conversion.go | 1 + pkg/apis/pipeline/v1alpha2/pipeline_conversion.go | 1 + pkg/apis/pipeline/v1alpha2/task_conversion.go | 1 + 6 files changed, 6 insertions(+) diff --git a/pkg/apis/pipeline/v1alpha1/cluster_task_conversion.go b/pkg/apis/pipeline/v1alpha1/cluster_task_conversion.go index 8b43d2fa8e1..cc08819fd10 100644 --- a/pkg/apis/pipeline/v1alpha1/cluster_task_conversion.go +++ b/pkg/apis/pipeline/v1alpha1/cluster_task_conversion.go @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ +// nolint: golint package v1alpha1 import ( diff --git a/pkg/apis/pipeline/v1alpha1/pipeline_conversion.go b/pkg/apis/pipeline/v1alpha1/pipeline_conversion.go index 5990f4b09be..ea1f0491bf1 100644 --- a/pkg/apis/pipeline/v1alpha1/pipeline_conversion.go +++ b/pkg/apis/pipeline/v1alpha1/pipeline_conversion.go @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ +// nolint: golint package v1alpha1 import ( diff --git a/pkg/apis/pipeline/v1alpha1/task_conversion.go b/pkg/apis/pipeline/v1alpha1/task_conversion.go index 18cd2d8db38..f614b75938b 100644 --- a/pkg/apis/pipeline/v1alpha1/task_conversion.go +++ b/pkg/apis/pipeline/v1alpha1/task_conversion.go @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ +// nolint: golint package v1alpha1 import ( diff --git a/pkg/apis/pipeline/v1alpha2/cluster_task_conversion.go b/pkg/apis/pipeline/v1alpha2/cluster_task_conversion.go index 5751f7ee43d..c7a96c3c725 100644 --- a/pkg/apis/pipeline/v1alpha2/cluster_task_conversion.go +++ b/pkg/apis/pipeline/v1alpha2/cluster_task_conversion.go @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ +// nolint: golint package v1alpha2 import ( diff --git a/pkg/apis/pipeline/v1alpha2/pipeline_conversion.go b/pkg/apis/pipeline/v1alpha2/pipeline_conversion.go index 520827e836a..658ecdb213c 100644 --- a/pkg/apis/pipeline/v1alpha2/pipeline_conversion.go +++ b/pkg/apis/pipeline/v1alpha2/pipeline_conversion.go @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ +// nolint: golint package v1alpha2 import ( diff --git a/pkg/apis/pipeline/v1alpha2/task_conversion.go b/pkg/apis/pipeline/v1alpha2/task_conversion.go index 887844890bf..775a2295165 100644 --- a/pkg/apis/pipeline/v1alpha2/task_conversion.go +++ b/pkg/apis/pipeline/v1alpha2/task_conversion.go @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ +// nolint: golint package v1alpha2 import (