Skip to content

Commit 4707718

Browse files
authored
Fix Docs Validator (#2)
Use the option rather than a hard coded path!
1 parent 05681f9 commit 4707718

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

charts/core/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A Helm chart for deploying Unikorn Core
44

55
type: application
66

7-
version: v0.1.1
8-
appVersion: v0.1.1
7+
version: v0.1.2
8+
appVersion: v0.1.2
99

1010
icon: https://assets.unikorn-cloud.org/images/logos/dark-on-light/icon.svg

hack/docs/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ func (o *options) run() error {
631631
// Load in the OpenAPI schema.
632632
loader := openapi3.NewLoader()
633633

634-
doc, err := loader.LoadFromFile("pkg/server/openapi/server.spec.yaml")
634+
doc, err := loader.LoadFromFile(o.openapiSchema)
635635
if err != nil {
636636
return err
637637
}

0 commit comments

Comments
 (0)