Skip to content

Commit

Permalink
linstor: update correct image format to RAW
Browse files Browse the repository at this point in the history
  • Loading branch information
rp- committed Mar 19, 2024
1 parent 720407b commit 024f8d3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
import com.cloud.host.Host;
import com.cloud.storage.ResizeVolumePayload;
import com.cloud.storage.SnapshotVO;
import com.cloud.storage.Storage;
import com.cloud.storage.StorageManager;
import com.cloud.storage.StoragePool;
import com.cloud.storage.VMTemplateStoragePoolVO;
Expand Down Expand Up @@ -618,6 +619,7 @@ public void createAsync(DataStore dataStore, DataObject vol, AsyncCompletionCall
volume.setPoolId(storagePool.getId());
volume.setUuid(vol.getUuid());
volume.setPath(vol.getUuid());
volume.setFormat(Storage.ImageFormat.RAW);

_volumeDao.update(volume.getId(), volume);
break;
Expand Down

0 comments on commit 024f8d3

Please sign in to comment.