added missing err check

This commit is contained in:
Andrew Nester 2024-12-02 16:07:03 +01:00
parent 1e74a0d257
commit cb7bca22af
No known key found for this signature in database
GPG Key ID: 12BC628A44B7DA57
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,9 @@ func getAppConfig(ctx context.Context, app *apps.App, w *databricks.WorkspaceCli
cmdio.LogString(ctx, fmt.Sprintf("Reading app configuration from %s", configFile))
content, err := io.ReadAll(r)
if err != nil {
return nil, err
}
var appConfig map[string]interface{}
err = yaml.Unmarshal(content, &appConfig)