]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Remove unused variable 31785/head
authorVolker Theile <vtheile@suse.com>
Thu, 21 Nov 2019 12:57:27 +0000 (13:57 +0100)
committerVolker Theile <vtheile@suse.com>
Wed, 27 Nov 2019 11:12:55 +0000 (12:12 +0100)
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.ts

index b1101670924a80ef9c3131b4b9c13ec53b1443ec..4e178f3fb7cbdc90b6f5dfd548e63b698f25fee4 100644 (file)
@@ -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
index 811a2145d498cdea1dfd0ef5ab933f2fa6496e90..6813c3507e5734f91105251c61bfabf45484247c 100644 (file)
@@ -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,
index 6f6a2ced65117729aab775bd0c94b7140694a4f9..b02e3b73ebc82efbb6c8589573df54eb054160bb 100644 (file)
@@ -36,7 +36,6 @@ describe('RbdTrashMoveModalComponent', () => {
     component = fixture.componentInstance;
     httpTesting = TestBed.get(HttpTestingController);
 
-    component.metaType = 'RBD';
     component.poolName = 'foo';
     component.imageName = 'bar';
 
index 53913a93b9606424bd0d2106b47135891d9440cb..7ec5fe5b96ecc4e283006991285b32520dde1507 100644 (file)
@@ -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;
index 40750922c34e9f2dc862e405bac296ae31f236f3..4e687994e505c364192799d4503fc82478f6b9f7 100644 (file)
@@ -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;