Move remote disk StorageAPI abstraction from RPC to REST (#6464)

This commit is contained in:
Krishna Srinivas
2018-10-04 17:44:06 -07:00
committed by kannappanr
parent 670f9788e3
commit 81bee93b8d
12 changed files with 945 additions and 633 deletions

View File

@@ -100,7 +100,7 @@ func newStorageAPI(endpoint Endpoint) (storage StorageAPI, err error) {
return newPosix(endpoint.Path)
}
return newStorageRPC(endpoint), nil
return newStorageRESTClient(endpoint), nil
}
// Cleanup a directory recursively.