aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-02-10 10:49:58 +0100
committerStefan Majewsky <majewsky@gmx.net>2018-02-10 10:49:58 +0100
commit9a8ec45e50647e134e5a6e14c3738d6627298b97 (patch)
treeca5f8d6c45444d78e445889a341aeb81b71037a2 /account.go
parent8dfe7249e015e1a03a911d441cab8c4bb0c7d4c9 (diff)
downloadgo-schwift-9a8ec45e50647e134e5a6e14c3738d6627298b97.tar.gz
sketch out the initial Object API
Diffstat (limited to 'account.go')
-rw-r--r--account.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/account.go b/account.go
index 0829eb2..8193cb6 100644
--- a/account.go
+++ b/account.go
@@ -83,6 +83,8 @@ func (a *Account) Client() *gophercloud.ServiceClient {
//Headers returns the AccountHeaders for this account. If the AccountHeaders
//has not been cached yet, a HEAD request is issued on the account.
+//
+//This operation fails with http.StatusNotFound if the account does not exist.
func (a *Account) Headers() (AccountHeaders, error) {
if a.headers != nil {
return *a.headers, nil