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:
shreyas-goenka 2023-05-01 14:34:12 +02:00 committed by GitHub
parent 5fc7cd0adf
commit 37af3d5c4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"`
} }