Skip to content

Commit bcee7df

Browse files
Final edit pass
1 parent 7d1fa18 commit bcee7df

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/storage/blobs/storage-quickstart-blobs-go.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Use [git](https://git-scm.com/) to download a copy of the application to your de
5151
git clone https://github.com/Azure-Samples/storage-blobs-go-quickstart
5252
```
5353

54-
This command clones the repository to your local git folder. To open the Go sample for Blob storage, look for `storage-quickstart.go` file.
54+
This command clones the repository to your local git folder. To open the Go sample for Blob Storage, look for the file named `storage-quickstart.go`.
5555

5656
## Authenticate to Azure and authorize access to blob data
5757

@@ -83,7 +83,7 @@ You can authorize access to data in your storage account using the following ste
8383
go get github.com/Azure/azure-sdk-for-go/sdk/azidentity
8484
```
8585
86-
Azure CLI authentication isn't recommended for applications running in Azure. When deployed to Azure, this same code can be used to authorize requests to Azure Storage from an application running in Azure. However, you need to enable managed identity on your app in Azure and configure your storage account to allow that managed identity to connect. For detailed instructions on configuring this connection between Azure services, see the [Auth from Azure-hosted apps](/developer/go/azure-sdk-authentication-managed-identity) tutorial.
86+
Azure CLI authentication isn't recommended for applications running in Azure. When deployed to Azure, the same code can be used to authorize requests to Azure Storage from an application running in Azure. However, you need to enable managed identity on your app in Azure and configure your storage account to allow that managed identity to connect. For detailed instructions on configuring this connection between Azure services, see the [Auth from Azure-hosted apps](/developer/go/azure-sdk-authentication-managed-identity) tutorial.
8787
8888
To learn more about different authentication methods, check out [Azure authentication with the Azure SDK for Go](/azure/developer/go/azure-sdk-authentication).
8989
@@ -198,8 +198,8 @@ The following code example lists the blobs in the specified container:
198198
// List the blobs in the container
199199
fmt.Println("Listing the blobs in the container:")
200200

201-
pager := client.NewListBlobsFlatPager(containerName, &container.ListBlobsFlatOptions{
202-
Include: container.ListBlobsInclude{Snapshots: true, Versions: true},
201+
pager := client.NewListBlobsFlatPager(containerName, &azblob.ListBlobsFlatOptions{
202+
Include: azblob.ListBlobsInclude{Snapshots: true, Versions: true},
203203
})
204204

205205
for pager.More() {
@@ -231,7 +231,7 @@ handleError(err)
231231
err = retryReader.Close()
232232
handleError(err)
233233

234-
// Print the content of the blob we created
234+
// Print the contents of the blob we created
235235
fmt.Println("Blob contents:")
236236
fmt.Println(downloadedData.String())
237237
```

0 commit comments

Comments
 (0)