ScheduledJob suspend being pointer leftovers - generated changes

This commit is contained in:
Maciej Szulik
2016-07-13 17:56:46 +02:00
parent df124fed14
commit 17c8feee0f
2 changed files with 54 additions and 40 deletions

View File

@@ -3518,11 +3518,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
const yyr2 bool = false
yyq2[1] = x.StartingDeadlineSeconds != nil
yyq2[2] = x.ConcurrencyPolicy != ""
yyq2[3] = x.Suspend != nil
var yynn2 int
if yyr2 || yy2arr2 {
r.EncodeArrayStart(5)
} else {
yynn2 = 3
yynn2 = 2
for _, b := range yyq2 {
if b {
yynn2++
@@ -3602,30 +3603,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
}
if yyr2 || yy2arr2 {
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
if x.Suspend == nil {
r.EncodeNil()
} else {
yy15 := *x.Suspend
yym16 := z.EncBinary()
_ = yym16
if false {
if yyq2[3] {
if x.Suspend == nil {
r.EncodeNil()
} else {
r.EncodeBool(bool(yy15))
yy15 := *x.Suspend
yym16 := z.EncBinary()
_ = yym16
if false {
} else {
r.EncodeBool(bool(yy15))
}
}
} else {
r.EncodeNil()
}
} else {
z.EncSendContainerState(codecSelfer_containerMapKey1234)
r.EncodeString(codecSelferC_UTF81234, string("suspend"))
z.EncSendContainerState(codecSelfer_containerMapValue1234)
if x.Suspend == nil {
r.EncodeNil()
} else {
yy17 := *x.Suspend
yym18 := z.EncBinary()
_ = yym18
if false {
if yyq2[3] {
z.EncSendContainerState(codecSelfer_containerMapKey1234)
r.EncodeString(codecSelferC_UTF81234, string("suspend"))
z.EncSendContainerState(codecSelfer_containerMapValue1234)
if x.Suspend == nil {
r.EncodeNil()
} else {
r.EncodeBool(bool(yy17))
yy17 := *x.Suspend
yym18 := z.EncBinary()
_ = yym18
if false {
} else {
r.EncodeBool(bool(yy17))
}
}
}
}

View File

@@ -3494,11 +3494,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
const yyr2 bool = false
yyq2[1] = x.StartingDeadlineSeconds != nil
yyq2[2] = x.ConcurrencyPolicy != ""
yyq2[3] = x.Suspend != nil
var yynn2 int
if yyr2 || yy2arr2 {
r.EncodeArrayStart(5)
} else {
yynn2 = 3
yynn2 = 2
for _, b := range yyq2 {
if b {
yynn2++
@@ -3578,30 +3579,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
}
if yyr2 || yy2arr2 {
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
if x.Suspend == nil {
r.EncodeNil()
} else {
yy15 := *x.Suspend
yym16 := z.EncBinary()
_ = yym16
if false {
if yyq2[3] {
if x.Suspend == nil {
r.EncodeNil()
} else {
r.EncodeBool(bool(yy15))
yy15 := *x.Suspend
yym16 := z.EncBinary()
_ = yym16
if false {
} else {
r.EncodeBool(bool(yy15))
}
}
} else {
r.EncodeNil()
}
} else {
z.EncSendContainerState(codecSelfer_containerMapKey1234)
r.EncodeString(codecSelferC_UTF81234, string("suspend"))
z.EncSendContainerState(codecSelfer_containerMapValue1234)
if x.Suspend == nil {
r.EncodeNil()
} else {
yy17 := *x.Suspend
yym18 := z.EncBinary()
_ = yym18
if false {
if yyq2[3] {
z.EncSendContainerState(codecSelfer_containerMapKey1234)
r.EncodeString(codecSelferC_UTF81234, string("suspend"))
z.EncSendContainerState(codecSelfer_containerMapValue1234)
if x.Suspend == nil {
r.EncodeNil()
} else {
r.EncodeBool(bool(yy17))
yy17 := *x.Suspend
yym18 := z.EncBinary()
_ = yym18
if false {
} else {
r.EncodeBool(bool(yy17))
}
}
}
}