Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
make AssignableVirtualMachine public so that it can be used in TaskSc…
Browse files Browse the repository at this point in the history
…heduler.withAssignableVMsEvaluator (#185)
  • Loading branch information
corindwyer authored Oct 7, 2019
1 parent 4d26cf8 commit b15bc32
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* This class represents a VM that contains resources that can be assigned to tasks.
*/
class AssignableVirtualMachine implements Comparable<AssignableVirtualMachine>{
public class AssignableVirtualMachine implements Comparable<AssignableVirtualMachine>{

/* package */ static final String PseuoHostNamePrefix = "FenzoPsueodHost-";

Expand Down Expand Up @@ -831,7 +831,7 @@ public Map<String, TaskTracker.ActiveTask> getAllCurrentlyAssignedTasks() {
};
}

VirtualMachineCurrentState getVmCurrentState() {
public VirtualMachineCurrentState getVmCurrentState() {
final List<Protos.Offer> offers = new LinkedList<>();
for (VirtualMachineLease l: leasesMap.values()) {
offers.add(l.getOffer());
Expand Down

0 comments on commit b15bc32

Please sign in to comment.