Fix build with -tags gokrazy (#5716)
Before this commit, go build -tags gokrazy ./... would fail with: github.com/evcc-io/evcc/server/updater server/updater/run_gokrazy.go:21:27: not enough arguments in call to NewRepo have (string, string) want (*util.Logger, string, string)
This commit is contained in:
parent
dbf1305210
commit
f5fe313dc0
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ func Run(log *util.Logger, httpd webServer, outChan chan<- util.Param) {
|
|||
u := &watch{
|
||||
log: log,
|
||||
outChan: outChan,
|
||||
repo: NewRepo(owner, repository),
|
||||
repo: NewRepo(log, owner, repository),
|
||||
}
|
||||
|
||||
httpd.Router().PathPrefix("/api/update").HandlerFunc(u.updateHandler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue