mirror of https://github.com/docker/cli.git
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 <github@gone.nl>
This commit is contained in:
parent
e708c900f8
commit
bb01064691
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue