mirror of https://github.com/databricks/cli.git
lint fixes
This commit is contained in:
parent
0d2ebb1c19
commit
2f853e21ae
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue