diff --git a/src/pages/compute/containers/Instance/components/FlavorSelectTable.jsx b/src/pages/compute/containers/Instance/components/FlavorSelectTable.jsx index 3c9d9439..69f2eb39 100644 --- a/src/pages/compute/containers/Instance/components/FlavorSelectTable.jsx +++ b/src/pages/compute/containers/Instance/components/FlavorSelectTable.jsx @@ -106,7 +106,6 @@ export class FlavorSelectTable extends Component { get flavors() { const { flavor, - online, isIronic = false, filterIronic = true, excludeFlavors = [], @@ -127,16 +126,6 @@ export class FlavorSelectTable extends Component { if (!flavor) { return true; } - if (online) { - const currentFlavor = (toJS(this.flavorStore.list.data) || []).find( - (f) => f.name === flavor - ); - return ( - it.vcpus >= currentFlavor.vcpus && - it.ram >= currentFlavor.ram && - it.name !== flavor - ); - } return it.name !== flavor; }) .filter((it) => { diff --git a/src/pages/storage/containers/Volume/actions/Bootable.jsx b/src/pages/storage/containers/Volume/actions/Bootable.jsx index 485eec2c..4402b222 100644 --- a/src/pages/storage/containers/Volume/actions/Bootable.jsx +++ b/src/pages/storage/containers/Volume/actions/Bootable.jsx @@ -29,6 +29,11 @@ export class Bootable extends ModalAction { return Promise.resolve(true); } + get name() { + const { bootable } = this.values; + return bootable ? t('Bootable') : t('Unbootable'); + } + get defaultValue() { const { item } = this.props; return { diff --git a/src/stores/nova/instance.js b/src/stores/nova/instance.js index faf033cc..bda47b33 100644 --- a/src/stores/nova/instance.js +++ b/src/stores/nova/instance.js @@ -399,16 +399,6 @@ export class ServerStore extends Base { return this.operation({ body, id }); } - @action - async liveResize({ id, flavor }) { - const body = { - liveResize: { - flavorRef: flavor, - }, - }; - return this.operation({ body, id }); - } - @action async migrate({ id, body }) { if (body) {