From a29fb0b2a9453e83cbc591cf30bf0a6eba85ea62 Mon Sep 17 00:00:00 2001 From: Germain Bergeron Date: Wed, 23 Oct 2019 10:13:08 -0400 Subject: [PATCH] style: apply review --- src/resources/Clusters/Cluster.ts | 2 +- src/resources/Clusters/Nodes/ClusterNode.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/resources/Clusters/Cluster.ts b/src/resources/Clusters/Cluster.ts index 4ca4b6726..0997e16a0 100644 --- a/src/resources/Clusters/Cluster.ts +++ b/src/resources/Clusters/Cluster.ts @@ -35,6 +35,6 @@ export default class Cluster extends Resource { } synchronize(id: string) { - return this.api.post<{}>(`${Cluster.baseUrl}/${id}/synchronize`); + return this.api.post(`${Cluster.baseUrl}/${id}/synchronize`); } } diff --git a/src/resources/Clusters/Nodes/ClusterNode.ts b/src/resources/Clusters/Nodes/ClusterNode.ts index e91b2b97b..4fcb1fb03 100644 --- a/src/resources/Clusters/Nodes/ClusterNode.ts +++ b/src/resources/Clusters/Nodes/ClusterNode.ts @@ -15,15 +15,15 @@ export default class ClusterNode extends Resource { } start(clusterId: string, id: string) { - return this.api.post<{}>(`${ClusterNode.getBaseUrl(clusterId)}/${id}/start`); + return this.api.post(`${ClusterNode.getBaseUrl(clusterId)}/${id}/start`); } stop(clusterId: string, id: string) { - return this.api.post<{}>(`${ClusterNode.getBaseUrl(clusterId)}/${id}/stop`); + return this.api.post(`${ClusterNode.getBaseUrl(clusterId)}/${id}/stop`); } dump(clusterId: string, id: string) { - return this.api.post<{}>(`${ClusterNode.getBaseUrl(clusterId)}/${id}/dumps`); + return this.api.post(`${ClusterNode.getBaseUrl(clusterId)}/${id}/dumps`); } upgrade(clusterId: string, id: string, data: ClusterNodeUpgradeDataModel) {