Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong crd import options #162

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading