Skip to content

Commit

Permalink
Merge pull request #14924 from zetaab/automated-cherry-pick-of-#14923…
Browse files Browse the repository at this point in the history
…-upstream-release-1.26

Automated cherry pick of #14923: Do not include tags when searching existing volumes in
  • Loading branch information
k8s-ci-robot authored Jan 3, 2023
2 parents 58f184d + b72c7fc commit feaf77e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions upup/pkg/fi/cloudup/openstacktasks/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ func (c *Volume) CompareWithID() *string {
func (c *Volume) Find(context *fi.CloudupContext) (*Volume, error) {
cloud := context.T.Cloud.(openstack.OpenstackCloud)
opt := cinderv3.ListOpts{
Name: fi.ValueOf(c.Name),
Metadata: c.Tags,
Name: fi.ValueOf(c.Name),
}
volumes, err := cloud.ListVolumes(opt)
if err != nil {
Expand Down

0 comments on commit feaf77e

Please sign in to comment.