We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fd295e commit f069342Copy full SHA for f069342
sdk/data/aztables/README.md
@@ -67,6 +67,7 @@ The aztables package supports any of the types that implement the `azcore.TokenC
67
Use AAD authentication as the credential parameter to authenticate the client:
68
```go
69
import (
70
+ "fmt"
71
"os"
72
73
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
@@ -78,7 +79,7 @@ func main() {
78
79
if !ok {
80
panic("TABLES_STORAGE_ACCOUNT_NAME could not be found")
81
}
- serviceURL := accountName + ".table.core.windows.net"
82
+ serviceURL := fmt.Sprintf("https://%s.table.core.windows.net", accountName)
83
84
cred, err := azidentity.NewDefaultAzureCredential(nil)
85
if err != nil {
0 commit comments