You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (newW.Inspire() ==nil&&oldW.Inspire() !=nil) || (newW.Inspire() !=nil&&oldW.Inspire() ==nil) {
33
+
allErrs=append(allErrs, field.Forbidden(field.NewPath("spec").Child("service").Child("inspire"), "cannot change from inspire to not inspire or the other way around"))
if (wfs.Spec.Service.Inspire==nil&&wfsOld.Spec.Service.Inspire!=nil) || (wfs.Spec.Service.Inspire!=nil&&wfsOld.Spec.Service.Inspire==nil) {
43
-
allErrs=append(allErrs, field.Forbidden(field.NewPath("spec").Child("service").Child("inspire"), "cannot change from inspire to not inspire or the other way around"))
if (wms.Spec.Service.Inspire==nil&&wmsOld.Spec.Service.Inspire!=nil) || (wms.Spec.Service.Inspire!=nil&&wmsOld.Spec.Service.Inspire==nil) {
45
-
allErrs=append(allErrs, field.Forbidden(field.NewPath("spec").Child("service").Child("inspire"), "cannot change from inspire to not inspire or the other way around"))
0 commit comments