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:
shreyas-goenka 2024-03-27 19:07:59 +05:30 committed by GitHub
parent ca534d596b
commit 704d069459
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -42,5 +42,5 @@ type Bundle struct {
ComputeID string `json:"compute_id,omitempty"`
// Deployment section specifies deployment related configuration for bundle
Deployment Deployment `json:"deployment"`
Deployment Deployment `json:"deployment,omitempty"`
}