Skip to content

Commit

Permalink
Log error for listing in gcp. Do not return.
Browse files Browse the repository at this point in the history
- This way if users do not have permissions for listing buckets, for
example, they can still delete the other things they said yes to.
  • Loading branch information
Genevieve LEsperance committed Feb 8, 2018
1 parent 404e91d commit 1e15f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcp/leftovers.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (l Leftovers) Delete(filter string) error {
for _, r := range l.resources {
list, err := r.List(filter)
if err != nil {
return err
l.logger.Println(err.Error())
}

deletables = append(deletables, list...)
Expand Down

0 comments on commit 1e15f27

Please sign in to comment.