Skip to content

Commit

Permalink
openstack: rename goose{C,c}lient package
Browse files Browse the repository at this point in the history
Signed-off-by: Zeyad Gouda <[email protected]>
  • Loading branch information
ZeyadYasser committed Mar 25, 2024
1 parent 701600c commit 027ba48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spread/openstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync"
"time"

gooseClient "github.com/go-goose/goose/v5/client"
gooseclient "github.com/go-goose/goose/v5/client"
goosehttp "github.com/go-goose/goose/v5/http"

"github.com/go-goose/goose/v5/glance"
Expand Down Expand Up @@ -50,7 +50,7 @@ type openstackProvider struct {
options *Options

region string
osClient gooseClient.Client
osClient gooseclient.Client
computeClient novaComputeClient
networkClient *neutron.Client
imageClient glanceImageClient
Expand Down Expand Up @@ -766,7 +766,7 @@ func (p *openstackProvider) checkKey() error {
return &FatalError{fmt.Errorf("cannot determine authentication method to use")}
}

authClient := gooseClient.NewClient(cred, authmode, nil)
authClient := gooseclient.NewClient(cred, authmode, nil)
err = authClient.Authenticate()
if err != nil {
return &FatalError{fmt.Errorf("cannot authenticate: %v", &openstackError{err})}
Expand Down

0 comments on commit 027ba48

Please sign in to comment.