Update pkg/storage/driver/sql_test.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Sumit Solanki <sumit.solanki@ibm.com>
pull/31968/head
Sumit Solanki 1 month ago committed by GitHub
parent ea13f5b646
commit fbac372178
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -610,7 +610,8 @@ func mockGetReleaseCustomLabelsBatch(mock sqlmock.Sqlmock, releases []*rspb.Rele
})
for _, rel := range releases {
for k, v := range rel.Labels {
returnRows.AddRow(rel.Namespace, "", k, v)
releaseKey := fmt.Sprintf("%s.v%d", rel.Name, rel.Version)
returnRows.AddRow(rel.Namespace, releaseKey, k, v)
}
}
eq.WillReturnRows(returnRows).RowsWillBeClosed()

Loading…
Cancel
Save