aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-04-27 15:29:17 +0200
committerStefan Majewsky <majewsky@gmx.net>2018-04-27 15:29:17 +0200
commit61cbe4314ea1f626a8b785628d053e2af52c1ddd (patch)
tree8b263ae4f18f63bec060ea3356131505ea927e03
parentd23b4052c0866698b14ac13ac98581d9f5440a9b (diff)
downloadgo-schwift-61cbe4314ea1f626a8b785628d053e2af52c1ddd.tar.gz
s/project name/project ID/
-rw-r--r--account.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/account.go b/account.go
index f274701..936b9e1 100644
--- a/account.go
+++ b/account.go
@@ -58,7 +58,7 @@ func InitializeAccount(backend Backend) (*Account, error) {
//you originally authenticated. This method does not check whether the account
//actually exists.
//
-//The account name is usually the project name with an additional "AUTH_"
+//The account name is usually the Keystone project ID with an additional "AUTH_"
//prefix.
func (a *Account) SwitchAccount(accountName string) *Account {
newEndpointURL := a.baseURL + "v1/" + accountName + "/"
@@ -70,7 +70,7 @@ func (a *Account) SwitchAccount(accountName string) *Account {
}
//Name returns the name of the account (usually the prefix "AUTH_" followed by
-//the project ID).
+//the Keystone project ID).
func (a *Account) Name() string {
return a.name
}