From: Pere Diaz Bou Date: Tue, 21 Jun 2022 08:34:56 +0000 (+0200) Subject: mgr/dashboard: fix linting issues X-Git-Tag: v18.0.0~654^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6585abe4e6de40463d6c034dabfe6aa038568f56;p=ceph.git mgr/dashboard: fix linting issues Signed-off-by: Pere Diaz Bou --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.html index 79defcc041b2..164c181dab4b 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.html @@ -7,15 +7,16 @@
+ class="mx-auto d-block">

{{ header }}

{{ message }}

-

Please consult the documentation on how to configure and enable - the {{ sectionInfo }} management functionality.

+

Please consult the documentation on how to configure and enable + the {{ sectionInfo }} management functionality. +

diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.spec.ts index 65b93330033f..5763d4d975fb 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.spec.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.spec.ts @@ -14,12 +14,7 @@ describe('ErrorComponent', () => { configureTestBed({ declarations: [ErrorComponent], - imports: [ - HttpClientTestingModule, - RouterTestingModule, - SharedModule, - ToastrModule.forRoot() - ] + imports: [HttpClientTestingModule, RouterTestingModule, SharedModule, ToastrModule.forRoot()] }); beforeEach(() => { diff --git a/src/pybind/mgr/dashboard/openapi.yaml b/src/pybind/mgr/dashboard/openapi.yaml index f81560e9ec0b..2d24c7a24939 100644 --- a/src/pybind/mgr/dashboard/openapi.yaml +++ b/src/pybind/mgr/dashboard/openapi.yaml @@ -7228,26 +7228,9 @@ paths: application/json: schema: properties: - application_metadata: - type: string - configuration: - type: string - erasure_code_profile: - type: string - flags: - type: string - pg_num: - type: integer pool: + default: rbd-mirror type: string - pool_type: - type: string - rule_name: - type: string - required: - - pool - - pg_num - - pool_type type: object responses: '201':