From 704d06945975a901cb16328337ac3a24e81a6a6d Mon Sep 17 00:00:00 2001 From: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com> Date: Wed, 27 Mar 2024 19:07:59 +0530 Subject: [PATCH] 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. --- bundle/config/bundle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/config/bundle.go b/bundle/config/bundle.go index 21278151..6f991e56 100644 --- a/bundle/config/bundle.go +++ b/bundle/config/bundle.go @@ -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"` }