Skip to content

Commit

Permalink
fix: wrong crd import options
Browse files Browse the repository at this point in the history
Signed-off-by: Peefy <[email protected]>
  • Loading branch information
Peefy committed Nov 7, 2024
1 parent 0fcb633 commit 2a55d23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.8
0.10.9
1 change: 0 additions & 1 deletion pkg/options/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ func (o *ImportOptions) Run() error {
case Crd, OpenAPI:
for _, p := range files {
opts := new(generator.GenOpts)
opts.KeepOrder = true
// Convert CLI options to generator.GenOpts
opts.Spec = p
if o.Output != "" {
Expand Down
3 changes: 2 additions & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ func getVersion(version string) string {
}

const (
VersionTypeLatest = Version_0_10_8
VersionTypeLatest = Version_0_10_9

Version_0_10_9 VersionType = "0.10.9"
Version_0_10_8 VersionType = "0.10.8"
Version_0_10_7 VersionType = "0.10.7"
Version_0_10_6 VersionType = "0.10.6"
Expand Down

0 comments on commit 2a55d23

Please sign in to comment.