We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e0c4e8 commit ee01782Copy full SHA for ee01782
api/proposal.go
@@ -257,6 +257,9 @@ func (k *KEPHandler) Validate(p *Proposal) []error {
257
if err := p.Stage.IsValid(); err != nil {
258
allErrs = append(allErrs, err)
259
}
260
+ if p.Status == ImplementedStatus && p.Stage != StableStage {
261
+ allErrs = append(allErrs, fmt.Errorf("status:implemented implies stage:stable but found: %v", p.Stage))
262
+ }
263
return allErrs
264
265
0 commit comments