Skip to content

Commit eb2dba9

Browse files
committed
pkg: Move kepval packages to legacy
Signed-off-by: Stephen Augustus <[email protected]>
1 parent 0e78730 commit eb2dba9

File tree

10 files changed

+2
-1
lines changed

10 files changed

+2
-1
lines changed

pkg/kepval/keps/proposals.go renamed to pkg/legacy/keps/proposals.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
"gopkg.in/yaml.v3"
2929

3030
"k8s.io/enhancements/api"
31-
"k8s.io/enhancements/pkg/kepval/keps/validations"
31+
"k8s.io/enhancements/pkg/legacy/keps/validations"
3232
)
3333

3434
type Parser struct{}
@@ -70,6 +70,7 @@ func (p *Parser) Parse(in io.Reader) *api.Proposal {
7070
proposal.Error = errors.Wrap(err, "error unmarshaling YAML")
7171
return proposal
7272
}
73+
7374
if err := validations.ValidateStructure(test); err != nil {
7475
proposal.Error = errors.Wrap(err, "error validating KEP metadata")
7576
return proposal
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)