Remove the `.Provider.` bit.
diff --git a/openstack/objectstorage/v1/accounts/requests.go b/openstack/objectstorage/v1/accounts/requests.go
index a364bcc..55b4217 100644
--- a/openstack/objectstorage/v1/accounts/requests.go
+++ b/openstack/objectstorage/v1/accounts/requests.go
@@ -28,7 +28,7 @@
// ExtractHeaders method on the GetResult.
func Get(c *gophercloud.ServiceClient, opts GetOptsBuilder) GetResult {
var res GetResult
- h := c.Provider.AuthenticatedHeaders()
+ h := c.AuthenticatedHeaders()
if opts != nil {
headers, err := opts.ToAccountGetMap()
@@ -83,7 +83,7 @@
// To extract the headers returned, call the Extract method on the UpdateResult.
func Update(c *gophercloud.ServiceClient, opts UpdateOptsBuilder) UpdateResult {
var res UpdateResult
- h := c.Provider.AuthenticatedHeaders()
+ h := c.AuthenticatedHeaders()
if opts != nil {
headers, err := opts.ToAccountUpdateMap()