mirror of https://github.com/docker/cli.git
Merge pull request #781 from thaJeztah/fix-autogenerated-formatting
Fix gofmt for auto-generated k8s code
This commit is contained in:
commit
220c50abc1
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue