Skip to content

Commit

Permalink
[bimo.horizon|mazbergaz] Remove scheduler and move the start function…
Browse files Browse the repository at this point in the history
… to worker
  • Loading branch information
Bimo Horizon committed Jul 25, 2019
1 parent fb2a68f commit 175f05c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/proctord/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package main
import (
"github.com/getsentry/raven-go"
"os"
"proctor/internal/app/proctord/scheduler"
"proctor/internal/app/service/infra/config"
"proctor/internal/app/service/infra/db/migration"
"proctor/internal/app/service/infra/logger"
"proctor/internal/app/service/server"
"proctor/internal/app/service/worker"

"github.com/urfave/cli"
)
Expand Down Expand Up @@ -55,7 +55,7 @@ func main() {
Name: "start-scheduler",
Usage: "starts scheduler",
Action: func(c *cli.Context) error {
return scheduler.Start()
return worker.Start()
},
},
}
Expand Down

0 comments on commit 175f05c

Please sign in to comment.