Commit 17c8feee authored by Maciej Szulik's avatar Maciej Szulik

ScheduledJob suspend being pointer leftovers - generated changes

parent df124fed
...@@ -3518,11 +3518,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { ...@@ -3518,11 +3518,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
const yyr2 bool = false const yyr2 bool = false
yyq2[1] = x.StartingDeadlineSeconds != nil yyq2[1] = x.StartingDeadlineSeconds != nil
yyq2[2] = x.ConcurrencyPolicy != "" yyq2[2] = x.ConcurrencyPolicy != ""
yyq2[3] = x.Suspend != nil
var yynn2 int var yynn2 int
if yyr2 || yy2arr2 { if yyr2 || yy2arr2 {
r.EncodeArrayStart(5) r.EncodeArrayStart(5)
} else { } else {
yynn2 = 3 yynn2 = 2
for _, b := range yyq2 { for _, b := range yyq2 {
if b { if b {
yynn2++ yynn2++
...@@ -3602,30 +3603,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { ...@@ -3602,30 +3603,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
} }
if yyr2 || yy2arr2 { if yyr2 || yy2arr2 {
z.EncSendContainerState(codecSelfer_containerArrayElem1234) z.EncSendContainerState(codecSelfer_containerArrayElem1234)
if x.Suspend == nil { if yyq2[3] {
r.EncodeNil() if x.Suspend == nil {
} else { r.EncodeNil()
yy15 := *x.Suspend
yym16 := z.EncBinary()
_ = yym16
if false {
} else { } else {
r.EncodeBool(bool(yy15)) yy15 := *x.Suspend
yym16 := z.EncBinary()
_ = yym16
if false {
} else {
r.EncodeBool(bool(yy15))
}
} }
} else {
r.EncodeNil()
} }
} else { } else {
z.EncSendContainerState(codecSelfer_containerMapKey1234) if yyq2[3] {
r.EncodeString(codecSelferC_UTF81234, string("suspend")) z.EncSendContainerState(codecSelfer_containerMapKey1234)
z.EncSendContainerState(codecSelfer_containerMapValue1234) r.EncodeString(codecSelferC_UTF81234, string("suspend"))
if x.Suspend == nil { z.EncSendContainerState(codecSelfer_containerMapValue1234)
r.EncodeNil() if x.Suspend == nil {
} else { r.EncodeNil()
yy17 := *x.Suspend
yym18 := z.EncBinary()
_ = yym18
if false {
} else { } else {
r.EncodeBool(bool(yy17)) yy17 := *x.Suspend
yym18 := z.EncBinary()
_ = yym18
if false {
} else {
r.EncodeBool(bool(yy17))
}
} }
} }
} }
......
...@@ -3494,11 +3494,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { ...@@ -3494,11 +3494,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
const yyr2 bool = false const yyr2 bool = false
yyq2[1] = x.StartingDeadlineSeconds != nil yyq2[1] = x.StartingDeadlineSeconds != nil
yyq2[2] = x.ConcurrencyPolicy != "" yyq2[2] = x.ConcurrencyPolicy != ""
yyq2[3] = x.Suspend != nil
var yynn2 int var yynn2 int
if yyr2 || yy2arr2 { if yyr2 || yy2arr2 {
r.EncodeArrayStart(5) r.EncodeArrayStart(5)
} else { } else {
yynn2 = 3 yynn2 = 2
for _, b := range yyq2 { for _, b := range yyq2 {
if b { if b {
yynn2++ yynn2++
...@@ -3578,30 +3579,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { ...@@ -3578,30 +3579,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
} }
if yyr2 || yy2arr2 { if yyr2 || yy2arr2 {
z.EncSendContainerState(codecSelfer_containerArrayElem1234) z.EncSendContainerState(codecSelfer_containerArrayElem1234)
if x.Suspend == nil { if yyq2[3] {
r.EncodeNil() if x.Suspend == nil {
} else { r.EncodeNil()
yy15 := *x.Suspend
yym16 := z.EncBinary()
_ = yym16
if false {
} else { } else {
r.EncodeBool(bool(yy15)) yy15 := *x.Suspend
yym16 := z.EncBinary()
_ = yym16
if false {
} else {
r.EncodeBool(bool(yy15))
}
} }
} else {
r.EncodeNil()
} }
} else { } else {
z.EncSendContainerState(codecSelfer_containerMapKey1234) if yyq2[3] {
r.EncodeString(codecSelferC_UTF81234, string("suspend")) z.EncSendContainerState(codecSelfer_containerMapKey1234)
z.EncSendContainerState(codecSelfer_containerMapValue1234) r.EncodeString(codecSelferC_UTF81234, string("suspend"))
if x.Suspend == nil { z.EncSendContainerState(codecSelfer_containerMapValue1234)
r.EncodeNil() if x.Suspend == nil {
} else { r.EncodeNil()
yy17 := *x.Suspend
yym18 := z.EncBinary()
_ = yym18
if false {
} else { } else {
r.EncodeBool(bool(yy17)) yy17 := *x.Suspend
yym18 := z.EncBinary()
_ = yym18
if false {
} else {
r.EncodeBool(bool(yy17))
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment