Skip to content

Commit

Permalink
Merge 6c68795 into ce75e33
Browse files Browse the repository at this point in the history
  • Loading branch information
olgashtivelman committed Aug 27, 2018
2 parents ce75e33 + 6c68795 commit fdb717c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_server/storage_api_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ func (h *StorageApiHandler) getBackend(name string) (resources.StorageClient, er

// get backend name for volume
if backendName = h.getBackendName(name); backendName == "" {
err := fmt.Errorf("volume %s not found", name)
err := &resources.VolumeNotFoundError{name}
return nil, h.logger.ErrorRet(err, "failed")
}

Expand Down

0 comments on commit fdb717c

Please sign in to comment.