Skip to content

Commit

Permalink
Merge pull request #467 from openshift-cherrypick-robot/cherry-pick-4…
Browse files Browse the repository at this point in the history
…63-to-release-4.4

[release-4.4] Bug 1806757: fix regression
  • Loading branch information
openshift-merge-robot committed Feb 25, 2020
2 parents da8f959 + 302cdac commit 6b45c33
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/storage/swift/swift.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,13 +329,8 @@ func (d *driver) ensureAuthURLHasAPIVersion() error {
}

func (d *driver) containerExists(client *gophercloud.ServiceClient, containerName string) error {
if len(containerName) == 0 {
return nil
}
_, err := containers.Get(client, containerName, containers.GetOpts{}).Extract()

return err

}

func (d *driver) StorageExists(cr *imageregistryv1.Config) (bool, error) {
Expand Down

0 comments on commit 6b45c33

Please sign in to comment.