]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix problem with ErasureCodeProfileService 24694/head
authorTiago Melo <tspmelo@gmail.com>
Mon, 22 Oct 2018 10:57:01 +0000 (11:57 +0100)
committerTiago Melo <tspmelo@gmail.com>
Mon, 22 Oct 2018 10:57:01 +0000 (11:57 +0100)
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 <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts

index 47c1f6c1c7d5db9437c909381da2a76280564766..c019355874683e8767dd74ea4c6ccf3c307facae 100644 (file)
@@ -6,7 +6,6 @@ import { ApiModule } from './api.module';
 @Injectable({
   providedIn: ApiModule
 })
-@Injectable()
 export class ErasureCodeProfileService {
   constructor(private http: HttpClient) {}