]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/host.service.ts
import 15.2.9
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / api / host.service.ts
index 4d296db7835ca46e0b9c86636ed31964345cbb0e..cfe53305d431852976a721d993ec753daee0fb82 100644 (file)
@@ -18,8 +18,8 @@ export class HostService {
 
   constructor(private http: HttpClient, private deviceService: DeviceService) {}
 
-  list() {
-    return this.http.get(this.baseURL);
+  list(): Observable<object[]> {
+    return this.http.get<object[]>(this.baseURL);
   }
 
   create(hostname: string) {