mirror of
https://github.com/rancher/types.git
synced 2025-08-31 04:40:56 +00:00
go generate
This commit is contained in:
committed by
Alena Prokharchyk
parent
c3a67ec64a
commit
0311581082
@@ -1725,6 +1725,15 @@ func (in *ETCDService) DeepCopyInto(out *ETCDService) {
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Snapshot != nil {
|
||||
in, out := &in.Snapshot, &out.Snapshot
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@@ -28,5 +28,5 @@ type ETCDService struct {
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
Retention string `json:"retention,omitempty" yaml:"retention,omitempty"`
|
||||
Snapshot bool `json:"snapshot,omitempty" yaml:"snapshot,omitempty"`
|
||||
Snapshot *bool `json:"snapshot,omitempty" yaml:"snapshot,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user