mirror of https://github.com/databricks/cli.git
fix: Linter fix for missing error handler
This commit is contained in:
parent
d1649682e6
commit
00164a8dbf
|
@ -139,7 +139,10 @@ func generateSchema(workdir, outputFile string) {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
fmt.Printf("Writing OpenAPI annotations to %s\n", annotationsOpenApiPath)
|
fmt.Printf("Writing OpenAPI annotations to %s\n", annotationsOpenApiPath)
|
||||||
p.extractAnnotations(reflect.TypeOf(config.Root{}), annotationsOpenApiPath, annotationsOpenApiOverridesPath)
|
err = p.extractAnnotations(reflect.TypeOf(config.Root{}), annotationsOpenApiPath, annotationsOpenApiOverridesPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a, err := newAnnotationHandler([]string{annotationsOpenApiPath, annotationsOpenApiOverridesPath, annotationsPath})
|
a, err := newAnnotationHandler([]string{annotationsOpenApiPath, annotationsOpenApiOverridesPath, annotationsPath})
|
||||||
|
|
Loading…
Reference in New Issue