-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
webapps: Updating default node version used during creates #7821
Conversation
Need to update history will update with the next iteration |
d464de7
to
f3254d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment. The rest LGTM.
return poller | ||
elif action == 'preview': | ||
if target_slot is None: | ||
result = client.web_apps.apply_slot_config_to_production(resource_group_name, | ||
webapp, slot, True) | ||
else: | ||
result = client.web_apps.apply_slot_configuration_slot(resource_group_name, webapp, | ||
slot, target_slot, True) | ||
slot, (target_slot or 'production'), True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we know target_slot
is not None, so if should just be target_slot
Fixes: #7749, #7689
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).
I adhere to the Command Guidelines.