formatted code.

This commit is contained in:
Pradyumna Kaushik 2018-02-05 18:21:34 -05:00
parent acf9332a50
commit 5a28f8539a
2 changed files with 11 additions and 10 deletions

View file

@ -6,11 +6,11 @@ import (
"bufio"
"fmt"
"github.com/mesos/mesos-go/api/v0/scheduler"
"github.com/montanaflynn/stats"
"log"
"os/exec"
"syscall"
"time"
"github.com/montanaflynn/stats"
)
func Start(quit chan struct{}, logging *bool, logMType chan elecLogDef.LogMessageType, logMsg chan string, s scheduler.Scheduler) {

View file

@ -30,6 +30,7 @@ type BaseScheduler struct {
classMapWatts bool
TasksRunningMutex sync.Mutex
HostNameToSlaveID map[string]string
totalResourceAvailabilityRecorded bool
// First set of PCP values are garbage values, signal to logger to start recording when we're
// about to schedule a new task