diff --git a/product_reference.go b/product_reference.go index 48d4985..0f205b4 100644 --- a/product_reference.go +++ b/product_reference.go @@ -31,6 +31,9 @@ func NewMissingParameter(missingRate, missingSize int) MissingParameter { } func (pr *ProductReference) IssueReference() string { + if pr.issueReference == "" { + return "" + } return fmt.Sprintf("+99195%-8s", pr.issueReference) }