fermosan commented on code in PR #14499:
URL: https://github.com/apache/cloudstack/pull/14499#discussion_r4400798074
##########
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java:
##########
@@ -926,6 +926,20 @@ public String toString() {
}
}
+ public enum DiskErrorPolicy {
Review Comment:
I can think of a middle ground but full deduplication afaik cannot be
implemented due to enums inability to share instance states and especially
toString() can't be provided via a default interface method. I will submit a
something for review that hopefully meets your requirement.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]