Copilot commented on code in PR #11109:
URL: https://github.com/apache/cloudstack/pull/11109#discussion_r2185242492


##########
plugins/storage/volume/primera/src/main/java/org/apache/cloudstack/storage/datastore/adapter/primera/PrimeraAdapter.java:
##########
@@ -311,6 +311,7 @@ public ProviderVolume copy(ProviderAdapterContext context, 
ProviderAdapterDataOb
 
         parms.setDestVolume(targetVolumeInfo.getExternalName());
         parms.setOnline(false);
+        parms.setPriority(1);

Review Comment:
   Replace the magic number `1` with a named constant or enum (e.g., 
`PRIORITY_HIGH`) to clarify its meaning and improve maintainability.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to