Changing location from where to get thrift bidnings to that it points to github location. Ran go fmt on the entire project.

This commit is contained in:
Renan DelValle 2016-09-19 15:34:56 -04:00
parent 4408aefaad
commit 3a78e32e27
6 changed files with 16 additions and 18 deletions

View file

@ -17,7 +17,7 @@ package realis
import (
"fmt"
"gen-go/apache/aurora"
"github.com/rdelval/gorealis/gen-go/apache/aurora"
"github.com/rdelval/gorealis/response"
"os"
"time"
@ -62,7 +62,6 @@ func (m *Monitor) JobUpdate(updateKey aurora.JobUpdateKey, interval int, timeout
return false
}
func (m *Monitor) Instances(key *aurora.JobKey, instances int32, interval int, timeout int) bool {
for i := 0; i*interval < timeout; i++ {
@ -74,7 +73,7 @@ func (m *Monitor) Instances(key *aurora.JobKey, instances int32, interval int, t
os.Exit(1)
}
if(len(live) == int(instances)){
if len(live) == int(instances) {
return true
}