From: Tiago Melo Date: Mon, 22 Oct 2018 10:57:01 +0000 (+0100) Subject: mgr/dashboard: Fix problem with ErasureCodeProfileService X-Git-Tag: v14.1.0~1125^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f775e9844cd03be63910883a947520b20027e68e;p=ceph.git mgr/dashboard: Fix problem with ErasureCodeProfileService ErasureCodeProfileService was being provided twice and that was causing problems in production mode. Fixes: https://tracker.ceph.com/issues/36544 Signed-off-by: Tiago Melo --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts index 47c1f6c1c7d5d..c019355874683 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts @@ -6,7 +6,6 @@ import { ApiModule } from './api.module'; @Injectable({ providedIn: ApiModule }) -@Injectable() export class ErasureCodeProfileService { constructor(private http: HttpClient) {}