commit | 40095f009dd6c3ccc5c4e8b1bcb6b8c7185c6987 | [log] [tgz] |
---|---|---|
author | Ash Wilson <smashwilson@gmail.com> | Tue Oct 07 15:46:40 2014 -0400 |
committer | Ash Wilson <smashwilson@gmail.com> | Tue Oct 07 15:46:40 2014 -0400 |
tree | 785f4d04d4c0637f683ea9975de5dfa7e3b2939a | |
parent | 54b03824e2d571fe9344f609983cc4ce414741fd [diff] [blame] |
Apply the OptsBuilder interface to tokens.Create()
diff --git a/openstack/client.go b/openstack/client.go index d7bf646..bd82690 100644 --- a/openstack/client.go +++ b/openstack/client.go
@@ -95,7 +95,7 @@ v2Client.Endpoint = endpoint } - result := tokens2.Create(v2Client, options) + result := tokens2.Create(v2Client, tokens2.AuthOptions{AuthOptions: options}) token, err := result.ExtractToken() if err != nil {