Renames ResumeWritePosition to CurrentSize in storage driver api
This commit is contained in:
parent
abdf927c40
commit
cb1bdacbe3
8 changed files with 24 additions and 24 deletions
|
@ -119,10 +119,10 @@ func handleRequest(driver storagedriver.StorageDriver, request Request) {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
case "ResumeWritePosition":
|
||||
case "CurrentSize":
|
||||
path, _ := request.Parameters["Path"].(string)
|
||||
position, err := driver.ResumeWritePosition(path)
|
||||
response := ResumeWritePositionResponse{
|
||||
position, err := driver.CurrentSize(path)
|
||||
response := CurrentSizeResponse{
|
||||
Position: position,
|
||||
Error: ResponseError(err),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue