Selaa lähdekoodia

rename validate filename for schema

Mohammed Nafees 3 vuotta sitten
vanhempi
sitoutus
cabfa6ff89
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      internal/integrations/preview/schema_validate.go

+ 3 - 3
internal/integrations/preview/schema_validate.go

@@ -11,7 +11,7 @@ import (
 func validateWebChartValues(values map[string]interface{}) error {
 	compiler := jsonschema.NewCompiler()
 
-	scm, err := compiler.Compile("https://raw.githubusercontent.com/porter-dev/porter-charts/master/applications/web/values.schema.json")
+	scm, err := compiler.Compile("https://raw.githubusercontent.com/porter-dev/porter-charts/master/applications/web/validate.json")
 
 	if err != nil {
 		return fmt.Errorf("error compiling job chart values schema: %w", err)
@@ -35,7 +35,7 @@ func validateWebChartValues(values map[string]interface{}) error {
 func validateWorkerChartValues(values map[string]interface{}) error {
 	compiler := jsonschema.NewCompiler()
 
-	scm, err := compiler.Compile("https://raw.githubusercontent.com/porter-dev/porter-charts/master/applications/worker/values.schema.json")
+	scm, err := compiler.Compile("https://raw.githubusercontent.com/porter-dev/porter-charts/master/applications/worker/validate.json")
 
 	if err != nil {
 		return fmt.Errorf("error compiling job chart values schema: %w", err)
@@ -59,7 +59,7 @@ func validateWorkerChartValues(values map[string]interface{}) error {
 func validateJobChartValues(values map[string]interface{}) error {
 	compiler := jsonschema.NewCompiler()
 
-	scm, err := compiler.Compile("https://raw.githubusercontent.com/porter-dev/porter-charts/master/applications/job/values.schema.json")
+	scm, err := compiler.Compile("https://raw.githubusercontent.com/porter-dev/porter-charts/master/applications/job/validate.json")
 
 	if err != nil {
 		return fmt.Errorf("error compiling job chart values schema: %w", err)