From 9cc684041e6243e47cee2ba62c33a9f9b7a5f5e4 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Thu, 9 May 2024 10:08:13 +0300 Subject: [PATCH] Prevent snapshot drift when upgrading to API v2 Signed-off-by: Stefan Prodan --- internal/release/observation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/release/observation.go b/internal/release/observation.go index 48a5bb56d..71ec18613 100644 --- a/internal/release/observation.go +++ b/internal/release/observation.go @@ -80,7 +80,7 @@ type Observation struct { // Namespace is the Kubernetes namespace of the release. Namespace string `json:"namespace"` // OCIDigest is the digest of the OCI artifact that was used to - OCIDigest string `json:"ociDigest"` + OCIDigest string `json:"ociDigest,omitempty"` } // Targets returns if the release matches the given name, namespace and