harikrishna-patnala commented on code in PR #8521:
URL: https://github.com/apache/cloudstack/pull/8521#discussion_r1460162351


##########
plugins/drs/cluster/condensed/src/main/java/org/apache/cloudstack/cluster/Condensed.java:
##########
@@ -21,78 +21,61 @@
 
 import com.cloud.host.Host;
 import com.cloud.offering.ServiceOffering;
-import com.cloud.utils.Pair;
 import com.cloud.utils.Ternary;
 import com.cloud.utils.component.AdapterBase;
 import com.cloud.vm.VirtualMachine;
+import org.apache.cloudstack.framework.config.ConfigKey;
 
 import javax.naming.ConfigurationException;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
 
 import static 
org.apache.cloudstack.cluster.ClusterDrsService.ClusterDrsImbalanceThreshold;
-import static org.apache.cloudstack.cluster.ClusterDrsService.ClusterDrsMetric;
+import static 
org.apache.cloudstack.cluster.ClusterDrsService.ClusterDrsMetricType;
 
 public class Condensed extends AdapterBase implements ClusterDrsAlgorithm {

Review Comment:
   @vishesh92 you will need to extend Configurable interface and add 
"ClusterDrsImbalanceSkipThreshold" in getConfigKeys() method to save this new 
config in the database.



-- 
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]

Reply via email to