Skip to content

Commit

Permalink
Fix rm(remove) chart issues (#103)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Khaerov <[email protected]>
  • Loading branch information
TejaBeta and hayorov authored Sep 21, 2021
1 parent 29b8fd5 commit 1c01eb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pkg/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ removeChart:
for i, v := range vs {
if version == "" || version == v.Version {
log.Debugf("%s-%s will be deleted", name, v.Version)
chartURL := fmt.Sprintf("%s/%s-%s.tgz", r.entry.URL, name, v.Version)
urls = append(urls, chartURL)
urls = append(urls, v.URLs...)
}
if version == v.Version {
vs[i] = vs[len(vs)-1]
Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "gcs"
version: "0.3.15"
version: "0.3.16"
usage: "Chart repositories on Google Cloud Storage"
description: |-
Manage repositories on Google Cloud Storage
Expand Down

0 comments on commit 1c01eb2

Please sign in to comment.