mirror of https://github.com/databricks/cli.git
Make `bundle.deployment` optional in the bundle schema (#1321)
## Changes Makes the field optional by adding the `omitempty` tag. This gets rid of the red squiggly lines in the bundle schema.
This commit is contained in:
parent
ca534d596b
commit
704d069459
|
@ -42,5 +42,5 @@ type Bundle struct {
|
||||||
ComputeID string `json:"compute_id,omitempty"`
|
ComputeID string `json:"compute_id,omitempty"`
|
||||||
|
|
||||||
// Deployment section specifies deployment related configuration for bundle
|
// Deployment section specifies deployment related configuration for bundle
|
||||||
Deployment Deployment `json:"deployment"`
|
Deployment Deployment `json:"deployment,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue