fix compile

This commit is contained in:
Edison Su 2013-11-07 16:56:29 -08:00
parent dc3d279272
commit 0997ccac22

View File

@ -178,7 +178,7 @@ public class CreateSnapshotCmd extends BaseAsyncCreateCmd {
CallContext.current().setEventDetails("Volume Id: "+getVolumeId());
Snapshot snapshot;
try {
snapshot = _volumeService.takeSnapshot(this.getVolumeId(), this.getPolicyId(), this.getEntityId(), _accountService.getAccount(getEntityOwnerId()));
snapshot = _volumeService.takeSnapshot(this.getVolumeId(), this.getPolicyId(), this.getEntityId(), _accountService.getAccount(getEntityOwnerId()), getQuiescevm());
if (snapshot != null) {
SnapshotResponse response = _responseGenerator.createSnapshotResponse(snapshot);
response.setResponseName(getCommandName());