Take out the reauth closure for now.
diff --git a/openstack/client.go b/openstack/client.go
index 3031fef..96b0b06 100644
--- a/openstack/client.go
+++ b/openstack/client.go
@@ -1,7 +1,6 @@
package openstack
import (
- "errors"
"fmt"
"net/url"
"strings"
@@ -32,12 +31,7 @@
u.Path, u.RawQuery, u.Fragment = "", "", ""
normalized := u.String()
- return &gophercloud.ProviderClient{
- IdentityEndpoint: normalized,
- Reauthenticate: func() error {
- return errors.New("Unable to reauthenticate before authenticating the first time.")
- },
- }, nil
+ return &gophercloud.ProviderClient{IdentityEndpoint: normalized}, nil
}
// AuthenticatedClient logs in to an OpenStack cloud found at the identity endpoint specified by options, acquires a token, and
diff --git a/provider_client.go b/provider_client.go
index 3b9aaed..971276e 100644
--- a/provider_client.go
+++ b/provider_client.go
@@ -11,9 +11,6 @@
// It should be the *root* resource of the identity service, not of a specific identity version.
IdentityEndpoint string
- // Reauthenticate is a callback that will be invoked to reauthenticate this client, if reauthentication is enabled.
- Reauthenticate func() error
-
// TokenID is the most recently valid token issued.
TokenID string