]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
nautilus: mgr/dashboard: A block-manager can not access the po… (#31570)
authorLenz Grimmer <lgrimmer@suse.com>
Wed, 18 Dec 2019 15:48:28 +0000 (15:48 +0000)
committerGitHub <noreply@github.com>
Wed, 18 Dec 2019 15:48:28 +0000 (15:48 +0000)
nautilus: mgr/dashboard: A block-manager can not access the pool page

Reviewed-by: Ricardo Marques <rimarques@suse.com>
1  2 
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts

index db850079f631cb8b54253c646822ed5850bb5741,50983ab85d5ac61a0c2e2b125e03c9399cea4a4f..3a365223ffd90dec8b5bc506d4bd1c01770451a0
@@@ -74,7 -75,14 +75,8 @@@ describe('PoolListComponent', () => 
      expect(component.columns.every((column) => Boolean(column.prop))).toBeTruthy();
    });
  
 -  it('returns pool details correctly', () => {
 -    const pool = { prop1: 1, cdIsBinary: true, prop2: 2, cdExecuting: true, prop3: 3 };
 -    const expected = { prop1: 1, prop2: 2, prop3: 3 };
 -    expect(component.getPoolDetails(pool)).toEqual(expected);
 -  });
 -
    describe('monAllowPoolDelete', () => {
+     let configOptRead: boolean;
      let configurationService: ConfigurationService;
  
      beforeEach(() => {