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

az web delete slot error #6063

Closed
lpxavi opened this issue Apr 9, 2018 · 3 comments
Closed

az web delete slot error #6063

lpxavi opened this issue Apr 9, 2018 · 3 comments
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Web Apps az webapp

Comments

@lpxavi
Copy link

lpxavi commented Apr 9, 2018

Hi,

we have an error running following command :

az webapp delete --name webapp_name --resource-group webapp_group --slot webapp_slot

delete_slot() missing 1 required positional argument: 'slot'
Traceback (most recent call last):
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 347, in execute
six.reraise(*sys.exc_info())
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 319, in execute
result = cmd(params)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 180, in call
return super(AzCliCommand, self).call(*args, **kwargs)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/knack/commands.py", line 109, in call
return self.handler(*args, **kwargs)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/core/init.py", line 420, in default_command_handler
result = op(**command_args)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 328, in delete_webapp
skip_dns_registration=False if keep_dns_registration else None)
TypeError: delete_slot() missing 1 required positional argument: 'slot'

Are you please able to help about this issues ?

Tks,


Environment summary

Install method: apt-get
CLI version : azure-cli (2.0.30)
OS version: Ubuntu 16.04.3 LTS
Shell Type: bash

@tjprescott tjprescott added bug This issue requires a change to an existing behavior in the product in order to be resolved. Web Apps az webapp labels Apr 9, 2018
@yugangw-msft yugangw-msft self-assigned this Apr 9, 2018
@yugangw-msft
Copy link
Contributor

the end to end test should have caught this, let me figure out the root cause.

@yugangw-msft yugangw-msft added this to the Sprint 36 (Build) milestone Apr 9, 2018
@yugangw-msft
Copy link
Contributor

@lpxavi , for now, please use the az webapp deployment slot delete to workaround this

@lpxavi
Copy link
Author

lpxavi commented Apr 11, 2018

@yugangw-msft, tks for you response. We will try the workaround then we will do a feedback.

@haroldrandom haroldrandom added bug This issue requires a change to an existing behavior in the product in order to be resolved. WebApps labels Oct 25, 2019
@btardif btardif added Web Apps az webapp and removed WebApps labels Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Web Apps az webapp
Projects
None yet
Development

No branches or pull requests

5 participants