Skip to content

Azure : Fix azure Remove container not exist bug#147

Open
plutoshe wants to merge 1 commit into
taskgraph:masterfrom
plutoshe:fixContainerNonexistBug
Open

Azure : Fix azure Remove container not exist bug#147
plutoshe wants to merge 1 commit into
taskgraph:masterfrom
plutoshe:fixContainerNonexistBug

Conversation

@plutoshe
Copy link
Copy Markdown
Contributor

This commit fix a panic bug.
In old code, When container does not exist, it will panic when user
wants to remove the blob in a non-exist contianer.

This commit fix a panic bug.
In old code, When container does not exist, it will panic when user
wants to remove the blob in a non-exist contianer.
Comment thread filesystem/azure.go
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if

!exist && err == nil

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will do nothing..Should I return a error "the container is not exist"

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

Successfully merging this pull request may close these issues.

2 participants