Skip to content

Commit

Permalink
style: apply review
Browse files Browse the repository at this point in the history
  • Loading branch information
GermainBergeron committed Oct 23, 2019
1 parent 4e8d65e commit a29fb0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/resources/Clusters/Cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
}
}
6 changes: 3 additions & 3 deletions src/resources/Clusters/Nodes/ClusterNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a29fb0b

Please sign in to comment.