diff options
author | manchandavishal <manchandavishal143@gmail.com> | 2021-11-02 12:10:22 +0530 |
---|---|---|
committer | manchandavishal <manchandavishal143@gmail.com> | 2022-01-24 16:21:18 +0530 |
commit | 6ac31e0ba8df520133d20d21e35085d9b882c04e (patch) | |
tree | 4e7f04719fe9fc7070fed3df426d79db3848ef21 /openstack_dashboard/management | |
parent | 9d1bb3626bc1dbcf29a55aeb094f4350067317cd (diff) | |
download | horizon-6ac31e0ba8df520133d20d21e35085d9b882c04e.tar.gz |
Drop Django based implementation of launch instance
horizon already deprecated launch instance Django based implementation
in the wallaby cycle [1]. This patch remove code for launch instance
Django based implementation as angular based implementation is the
default one from long and all features gaps between angular and Django
implementation is closed.
It also moves SetAdvanced step code to ``resize_instance.py`` as
``workflows/create_instance.py`` file is deleted and remove server_group
option from Advanced Options of resizing instance action because
"server_group" is not required while resizing an instance as per
nova-api reference [2].
Closes-Bug: #1869222
[1] https://review.opendev.org/c/openstack/horizon/+/779125
[2] https://docs.openstack.org/api-ref/compute/?expanded=resize-server-resize-action-detail#resize-server-resize-action
Change-Id: I5e01cd81f309491f1a58ea93911030366a86e3c7
Diffstat (limited to 'openstack_dashboard/management')
-rw-r--r-- | openstack_dashboard/management/commands/upgrade_check.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/openstack_dashboard/management/commands/upgrade_check.py b/openstack_dashboard/management/commands/upgrade_check.py index 4b6a35ae2..2f0c07a94 100644 --- a/openstack_dashboard/management/commands/upgrade_check.py +++ b/openstack_dashboard/management/commands/upgrade_check.py @@ -299,19 +299,6 @@ def check_chinese_locale_rename(dummy): return upgradecheck.Result(upgradecheck.Code.SUCCESS) -@register_check(_("Django launch instance form")) -def check_django_launch_instance_form(dummy): - if settings.LAUNCH_INSTANCE_LEGACY_ENABLED: - return upgradecheck.Result( - upgradecheck.Code.WARNING, - _("The Django version of the launch instance form is deprecated " - "since Wallaby release. Switch to the AngularJS version of the " - "form by setting LAUNCH_INSTANCE_NG_ENABLED to True and " - "LAUNCH_INSTANCE_LEGACY_ENABLED to False.") - ) - return upgradecheck.Result(upgradecheck.Code.SUCCESS) - - class UpgradeCheckTable(upgradecheck.UpgradeCommands): _upgrade_checks = CHECKS |