fix compilation error

This commit is contained in:
Chris Lu
2018-07-28 18:34:15 -07:00
parent 4e0522a80c
commit cfbfc7cb67
3 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ type DeleteResult struct {
}
func DeleteFromVolumeServer(fileUrlOnVolume string, jwt security.EncodedJwt) error {
err = util.Delete(fileUrlOnVolume, jwt)
err := util.Delete(fileUrlOnVolume, jwt)
if err != nil {
return fmt.Errorf("Failed to delete %s:%v", fileUrlOnVolume, err)
}