Skip to content

Commit 1fd295e

Browse files
authored
Correct new client apis (Azure#18916)
1 parent f23d396 commit 1fd295e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdk/data/aztables/client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type Client struct {
2727
}
2828

2929
// NewClient creates a Client struct in the context of the table specified in the serviceURL, authorizing requests with an Azure AD access token.
30-
// The serviceURL param is expected to have the name of the table in a format similar to: "https://myAccountName.core.windows.net/<myTableName>".
30+
// The serviceURL param is expected to have the name of the table in a format similar to: "https://myAccountName.table.core.windows.net/<myTableName>".
3131
// Pass in nil for options to construct the client with the default ClientOptions.
3232
func NewClient(serviceURL string, cred azcore.TokenCredential, options *ClientOptions) (*Client, error) {
3333
if options == nil {
@@ -45,7 +45,7 @@ func NewClient(serviceURL string, cred azcore.TokenCredential, options *ClientOp
4545
}
4646

4747
// NewClientWithNoCredential creates a Client struct in the context of the table specified in the serviceURL.
48-
// The serviceURL param is expected to have the name of the table in a format similar to: "https://myAccountName.core.windows.net/<myTableName>?<SAS token>".
48+
// The serviceURL param is expected to have the name of the table in a format similar to: "https://myAccountName.table.core.windows.net/<myTableName>?<SAS token>".
4949
// Pass in nil for options to construct the client with the default ClientOptions.
5050
func NewClientWithNoCredential(serviceURL string, options *ClientOptions) (*Client, error) {
5151
if options == nil {
@@ -63,7 +63,7 @@ func NewClientWithNoCredential(serviceURL string, options *ClientOptions) (*Clie
6363
}
6464

6565
// NewClientWithSharedKey creates a Client struct in the context of the table specified in the serviceURL, authorizing requests with a shared key.
66-
// The serviceURL param is expected to have the name of the table in a format similar to: "https://myAccountName.core.windows.net/<myTableName>".
66+
// The serviceURL param is expected to have the name of the table in a format similar to: "https://myAccountName.table.core.windows.net/<myTableName>".
6767
// Pass in nil for options to construct the client with the default ClientOptions.
6868
func NewClientWithSharedKey(serviceURL string, cred *SharedKeyCredential, options *ClientOptions) (*Client, error) {
6969
if options == nil {

0 commit comments

Comments
 (0)