Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go test list.Blobs undefined #272

Open
1 of 4 tasks
saraswat40 opened this issue Mar 3, 2020 · 0 comments
Open
1 of 4 tasks

go test list.Blobs undefined #272

saraswat40 opened this issue Mar 3, 2020 · 0 comments

Comments

@saraswat40
Copy link

saraswat40 commented Mar 3, 2020

Thank you for your contribution and feedback! Help us review faster by providing the following information:

This issue is a: (mark with an x)

  • bug report
  • request for new sample
  • documentation issue or request
  • regression (a behavior that used to work and stopped in a new release)

Steps to reproduce:

I cloned the repository and created a .env file:
AZURE_TENANT_ID=cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx6
AZURE_CLIENT_ID=6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc
AZURE_CLIENT_SECRET=Oxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx6
AZURE_SUBSCRIPTION_ID=5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1
AZURE_STORAGE_ACCOUNT_NAME=
AZURE_STORAGE_ACCOUNT_GROUP_NAME=
AZURE_RG_NAME=Pxxxxxxxxxxxl
AZURE_LOCATION=test

Errors and log messages:

running go test gives me the following error:

github.com/Azure-Samples/azure-sdk-for-go-samples/storage [github.com/Azure-Samples/azure-sdk-for-go-samples/storage.test]

./container_test.go:44:58: list.Blobs undefined (type *azblob.ListBlobsFlatSegmentResponse has no field or method Blobs)
FAIL github.com/Azure-Samples/azure-sdk-for-go-samples/storage [build failed]

Expected behavior:

maybe the test should fail but the build should pass.

OS and Go versions:

Ubuntu 19.10
go 1.1.2.17

Further info:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant