mirror of
https://github.com/helm/helm.git
synced 2026-04-06 01:25:21 -04:00
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>
This commit is contained in:
parent
ea13f5b646
commit
fbac372178
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue