Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Commit 70fe1e9

Browse files
authored
Release 1.0.0-rc6: missing patch (#188)
Release 1.0.0-rc6: missing patch
2 parents 3b262fd + 617fb57 commit 70fe1e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/release/annotator.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ func releaseManifestToUnstructured(manifest string, logger log.Logger) []unstruc
9595
continue
9696
}
9797

98+
if len(bytes) == 0 {
99+
continue
100+
}
101+
98102
var u unstructured.Unstructured
99103
if err := u.UnmarshalJSON(bytes); err != nil {
100104
logger.Log("err", err)

0 commit comments

Comments
 (0)