Merge pull request #781 from thaJeztah/fix-autogenerated-formatting

Fix gofmt for auto-generated k8s code
This commit is contained in:
Daniel Nephin 2018-01-04 11:23:32 -05:00 committed by GitHub
commit 220c50abc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

View File

@ -5,9 +5,10 @@
package v1beta1 package v1beta1
import ( import (
reflect "reflect"
conversion "k8s.io/apimachinery/pkg/conversion" conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
reflect "reflect"
) )
// Deprecated: register deep-copy functions. // Deprecated: register deep-copy functions.

View File

@ -5,9 +5,10 @@
package compose package compose
import ( import (
reflect "reflect"
conversion "k8s.io/apimachinery/pkg/conversion" conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
reflect "reflect"
) )
// Deprecated: register deep-copy functions. // Deprecated: register deep-copy functions.
@ -103,12 +104,13 @@ func (x *Owner) DeepCopy() *Owner {
} }
func (x *Owner) DeepCopyObject() runtime.Object { func (x *Owner) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := x.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
} }
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OwnerList) DeepCopyInto(out *OwnerList) { func (in *OwnerList) DeepCopyInto(out *OwnerList) {
*out = *in *out = *in