From c82901632f2440ee99287692ea0dcade75089ff0 Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Thu, 21 Nov 2019 13:57:27 +0100 Subject: [PATCH] mgr/dashboard: Remove unused variable Signed-off-by: Volker Theile --- .../frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts | 1 - .../app/ceph/block/rbd-trash-list/rbd-trash-list.component.ts | 1 - .../rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts | 1 - .../block/rbd-trash-move-modal/rbd-trash-move-modal.component.ts | 1 - .../rbd-trash-restore-modal/rbd-trash-restore-modal.component.ts | 1 - 5 files changed, 5 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts index b1101670924..4e178f3fb7c 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts @@ -339,7 +339,6 @@ export class RbdListComponent implements OnInit { trashRbdModal() { const initialState = { - metaType: 'RBD', poolName: this.selection.first().pool_name, namespace: this.selection.first().namespace, imageName: this.selection.first().name diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.ts index 811a2145d49..6813c3507e5 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.ts @@ -175,7 +175,6 @@ export class RbdTrashListComponent implements OnInit { restoreModal() { const initialState = { - metaType: 'RBD', poolName: this.selection.first().pool_name, namespace: this.selection.first().namespace, imageName: this.selection.first().name, diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts index 6f6a2ced651..b02e3b73ebc 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts @@ -36,7 +36,6 @@ describe('RbdTrashMoveModalComponent', () => { component = fixture.componentInstance; httpTesting = TestBed.get(HttpTestingController); - component.metaType = 'RBD'; component.poolName = 'foo'; component.imageName = 'bar'; diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.ts index 53913a93b96..7ec5fe5b96e 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.ts @@ -18,7 +18,6 @@ import { TaskWrapperService } from '../../../shared/services/task-wrapper.servic styleUrls: ['./rbd-trash-move-modal.component.scss'] }) export class RbdTrashMoveModalComponent implements OnInit { - metaType: string; poolName: string; namespace: string; imageName: string; diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.ts index 40750922c34..4e687994e50 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.ts @@ -16,7 +16,6 @@ import { TaskWrapperService } from '../../../shared/services/task-wrapper.servic styleUrls: ['./rbd-trash-restore-modal.component.scss'] }) export class RbdTrashRestoreModalComponent implements OnInit { - metaType: string; poolName: string; namespace: string; imageName: string; -- 2.39.5