Skip to content

Commit

Permalink
fix build errors with DRS plugins after merge-forward
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Feb 13, 2024
1 parent 9052641 commit 187f17c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
import com.cloud.utils.Ternary;
import com.cloud.utils.component.AdapterBase;
import com.cloud.vm.VirtualMachine;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import javax.naming.ConfigurationException;
import java.util.ArrayList;
Expand All @@ -35,7 +36,7 @@

public class Balanced extends AdapterBase implements ClusterDrsAlgorithm {

private static final Logger logger = Logger.getLogger(Balanced.class);
private static final Logger logger = LogManager.getLogger(Balanced.class);

@Override
public boolean needsDrs(long clusterId, List<Ternary<Long, Long, Long>> cpuList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
import com.cloud.utils.Ternary;
import com.cloud.utils.component.AdapterBase;
import com.cloud.vm.VirtualMachine;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import javax.naming.ConfigurationException;
import java.util.ArrayList;
Expand All @@ -36,7 +37,7 @@

public class Condensed extends AdapterBase implements ClusterDrsAlgorithm {

private static final Logger logger = Logger.getLogger(Condensed.class);
private static final Logger logger = LogManager.getLogger(Condensed.class);

@Override
public boolean needsDrs(long clusterId, List<Ternary<Long, Long, Long>> cpuList,
Expand Down

0 comments on commit 187f17c

Please sign in to comment.