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

Attempt error reporting for zip file uploads #611

Closed
cfjedimaster opened this issue Aug 3, 2018 · 1 comment
Closed

Attempt error reporting for zip file uploads #611

cfjedimaster opened this issue Aug 3, 2018 · 1 comment

Comments

@cfjedimaster
Copy link

While using zip uploads

az functionapp deployment source config-zip -g myResourceGroup -n <app_name> --src <zip_file_path>

I noticed an odd issue. The first time I tried it, I zipped it from a parent directory. So if foo was the folder with my function app, I zipped from the parent foo. This created a zip file where the root was a foo folder and not the contents of foo. (Obviously those contents were in there, just not at root.)

When I deployed, the CLI reported no issue with the zip. It took me a while to realize that I was zipped incorrectly. But the CLI never reported anything weird or wrong with the zip. If it had done so, it would have saved me quite a bit of time.

@ahmelsayed
Copy link
Contributor

This issue was moved to Azure/azure-cli#7072

@Azure Azure locked as resolved and limited conversation to collaborators Dec 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants