Do remove volume only on expunge (#5213)

This commit is contained in:
sureshanaparti 2021-07-17 12:01:54 +05:30 committed by GitHub
parent 96c9c5a5e2
commit f7fdc8a974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1555,9 +1555,9 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic
s_logger.warn("Failed to expunge volume: " + volumeId);
return null;
}
removeVolume(volume.getId());
}
removeVolume(volume.getId());
return volume;
}