Fix cli API change

I guess this is why builds were breaking. Remember to go get -u ...
This commit is contained in:
James Shubin
2016-05-14 16:26:09 -04:00
parent 05b75c0a44
commit ab73261fd4

View File

@@ -56,7 +56,7 @@ func waitForSignal(exit chan bool) {
}
}
func run(c *cli.Context) {
func run(c *cli.Context) error {
var start = time.Now().UnixNano()
var wg sync.WaitGroup
exit := make(chan bool) // exit signal
@@ -201,6 +201,7 @@ func run(c *cli.Context) {
// TODO: wait for each vertex to exit...
log.Println("Goodbye!")
return nil
}
func main() {