Skip to content

Commit 4d46bec

Browse files
fix priority for volume copy operation (#11109)
1 parent f958896 commit 4d46bec

File tree

1 file changed

+1
-0
lines changed
  • plugins/storage/volume/primera/src/main/java/org/apache/cloudstack/storage/datastore/adapter/primera

1 file changed

+1
-0
lines changed

plugins/storage/volume/primera/src/main/java/org/apache/cloudstack/storage/datastore/adapter/primera/PrimeraAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ public ProviderVolume copy(ProviderAdapterContext context, ProviderAdapterDataOb
311311

312312
parms.setDestVolume(targetVolumeInfo.getExternalName());
313313
parms.setOnline(false);
314+
parms.setPriority(1);
314315
request.setParameters(parms);
315316

316317
PrimeraTaskReference taskref = POST("/volumes/" + sourceVolumeInfo.getExternalName(), request, new TypeReference<PrimeraTaskReference>() {});

0 commit comments

Comments
 (0)