fixed go vet error
This commit is contained in:
parent
6fae6a56a1
commit
c9b3e2b546
2 changed files with 3 additions and 3 deletions
2
drone.go
2
drone.go
|
@ -37,7 +37,7 @@ func main() {
|
|||
eventbus_ := eventbus.New()
|
||||
queue_ := queue.New()
|
||||
updater := runner.NewUpdater(eventbus_, store)
|
||||
runner_ := runner.Runner{updater}
|
||||
runner_ := runner.Runner{Updater: updater}
|
||||
go run(&runner_, queue_)
|
||||
|
||||
r := gin.Default()
|
||||
|
|
|
@ -33,10 +33,10 @@ var (
|
|||
|
||||
var (
|
||||
// name of the build agent container.
|
||||
DefaultAgent = "drone/drone-agent"
|
||||
DefaultAgent = "drone/drone-build"
|
||||
|
||||
// default name of the build agent executable
|
||||
DefaultEntrypoint = []string{"/bin/drone-agent"}
|
||||
DefaultEntrypoint = []string{"/bin/drone-build"}
|
||||
|
||||
// default argument to invoke build steps
|
||||
DefaultBuildArgs = []string{"--build", "--clone", "--publish", "--deploy"}
|
||||
|
|
Loading…
Reference in a new issue