|
|
@ -156,7 +156,7 @@ func (s *Storage) History(name string) ([]*rspb.Release, error) {
|
|
|
|
return s.Driver.Query(map[string]string{"name": name, "owner": "helm"})
|
|
|
|
return s.Driver.Query(map[string]string{"name": name, "owner": "helm"})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// removeLeastRecent removes items from history until the lengh number of releases
|
|
|
|
// removeLeastRecent removes items from history until the length number of releases
|
|
|
|
// does not exceed max.
|
|
|
|
// does not exceed max.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// We allow max to be set explicitly so that calling functions can "make space"
|
|
|
|
// We allow max to be set explicitly so that calling functions can "make space"
|
|
|
|