lint fixes

This commit is contained in:
Andrew Nester 2024-11-21 17:33:04 +01:00
parent 0d2ebb1c19
commit 2f853e21ae
No known key found for this signature in database
GPG Key ID: 12BC628A44B7DA57
2 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,6 @@ import (
"fmt"
"path"
"path/filepath"
"time"
"github.com/databricks/cli/bundle"
"github.com/databricks/cli/bundle/config/resources"
@ -20,8 +19,6 @@ import (
"gopkg.in/yaml.v3"
)
const deployTimeout = 20 * time.Minute
type appsDeploy struct {
filerFactory deploy.FilerFactory
}

View File

@ -33,6 +33,10 @@ func (appConverter) Convert(ctx context.Context, key string, vin dyn.Value, out
"resources": "resource",
})
if err != nil {
return err
}
// Add the converted resource to the output.
out.App[key] = vout.AsAny()