From bb01064691613f6faf8fdffbeb63d404e19cd440 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 3 Jan 2018 23:57:23 +0100 Subject: [PATCH] Fix gofmt for auto-generated k8s code This code kept being modified by my IDE, so fixing the formatting. This is auto-generated code, but the code to generate is not in this repository, so this is a temporary fix until the code-generation upstream is fixed :) Signed-off-by: Sebastiaan van Stijn --- .../compose/v1beta1/zz_generated.deepcopy.go | 3 ++- kubernetes/compose/zz_generated.deepcopy.go | 14 ++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/kubernetes/compose/v1beta1/zz_generated.deepcopy.go b/kubernetes/compose/v1beta1/zz_generated.deepcopy.go index 65dec4bd9a..0d1398d66f 100644 --- a/kubernetes/compose/v1beta1/zz_generated.deepcopy.go +++ b/kubernetes/compose/v1beta1/zz_generated.deepcopy.go @@ -5,9 +5,10 @@ package v1beta1 import ( + reflect "reflect" + conversion "k8s.io/apimachinery/pkg/conversion" runtime "k8s.io/apimachinery/pkg/runtime" - reflect "reflect" ) // Deprecated: register deep-copy functions. diff --git a/kubernetes/compose/zz_generated.deepcopy.go b/kubernetes/compose/zz_generated.deepcopy.go index 7e1f80f220..464eb062a6 100644 --- a/kubernetes/compose/zz_generated.deepcopy.go +++ b/kubernetes/compose/zz_generated.deepcopy.go @@ -5,9 +5,10 @@ package compose import ( + reflect "reflect" + conversion "k8s.io/apimachinery/pkg/conversion" runtime "k8s.io/apimachinery/pkg/runtime" - reflect "reflect" ) // Deprecated: register deep-copy functions. @@ -103,12 +104,13 @@ func (x *Owner) DeepCopy() *Owner { } func (x *Owner) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { - return c - } else { - return nil - } + if c := x.DeepCopy(); c != nil { + return c + } else { + return nil + } } + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OwnerList) DeepCopyInto(out *OwnerList) { *out = *in