mirror of https://github.com/databricks/cli.git
Add omitempty tag to bundle git details (#372)
## Changes Add omit empty tag to git details. Otherwise this field becomes a required field in the config json schema ## Tests Tested by regenerating the json schema and checking that the git field is now optional
This commit is contained in:
parent
5fc7cd0adf
commit
37af3d5c4f
|
@ -27,5 +27,5 @@ type Bundle struct {
|
||||||
|
|
||||||
// Contains Git information like current commit, current branch and
|
// Contains Git information like current commit, current branch and
|
||||||
// origin url. Automatically loaded by reading .git directory if not specified
|
// origin url. Automatically loaded by reading .git directory if not specified
|
||||||
Git Git `json:"git"`
|
Git Git `json:"git,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue