Skip to content

Commit c46ed22

Browse files
Revert api v1 change (#247)
* feat: add topology-aware multicluster provisioning support * Revert "updated api route to /api/v1 (#218)" This reverts commit e3b1e2f. * reverted api/v1 changes * reverted api/v1 changes --------- Co-authored-by: Manohar Reddy <manohar@simplyblock.io>
1 parent 61667b6 commit c46ed22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/jsonrpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ func (client *RPCClient) CallSBCLI(method, path string, args interface{}) (inter
444444
data = nil
445445
}
446446

447-
requestURL := fmt.Sprintf("%s/api/v1/%s", client.ClusterIP, path)
447+
requestURL := fmt.Sprintf("%s/%s", client.ClusterIP, path)
448448
klog.Infof("Calling Simplyblock API: Method: %s: RequestURL: %s: Body: %s\n", method, requestURL, string(data))
449449
req, err := http.NewRequest(method, requestURL, bytes.NewReader(data))
450450
if err != nil {

0 commit comments

Comments
 (0)