Fix: struct literal uses unkeyed fields
This commit is contained in:
parent
5004123b30
commit
7e4ed7ae82
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ func (w *watcher) goServe() error {
|
|||
// TODO: Add standard debug/profiling routes
|
||||
m.HandleFunc("/", w.handleRoot)
|
||||
m.Handle("/static/", http.StripPrefix("/static", w.staticFileServer))
|
||||
m.Handle("/watch", xhttp.HandlerFuncAdapter{w.ms.Log, w.handleWatch})
|
||||
m.Handle("/watch", xhttp.HandlerFuncAdapter{Log: w.ms.Log, Func: w.handleWatch})
|
||||
|
||||
s := xhttp.NewServer(w.ms.Log.Warn, xhttp.Log(w.ms.Log, m))
|
||||
w.goFunc(func(ctx context.Context) error {
|
||||
|
|
|
|||
Loading…
Reference in a new issue