Update internal/storage/driver/records.go

Co-authored-by: Terry Howe <terrylhowe@gmail.com>
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
pull/32667/head
Evans Mungai 2 weeks ago committed by GitHub
parent 9f323b5230
commit 6671ecee9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -123,6 +123,5 @@ func newRecord(key string, rls *rspb.Release) *record {
lbs.set("status", rls.Info.Status.String()) lbs.set("status", rls.Info.Status.String())
lbs.set("version", strconv.Itoa(rls.Version)) lbs.set("version", strconv.Itoa(rls.Version))
// return &record{key: key, lbs: lbs, rls: proto.Clone(rls).(*rspb.Release)}
return &record{key: key, lbs: lbs, rls: rls} return &record{key: key, lbs: lbs, rls: rls}
} }

Loading…
Cancel
Save