lint: fix composite literal using unkeyed fields
Fix the following go vet error: # git.sr.ht/~rjarry/aerc/worker/notmuch worker/notmuch/worker.go:86:19: git.sr.ht/~rjarry/aerc/worker/types.Done composite literal uses unkeyed fields Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
This commit is contained in:
parent
1d68e1d14f
commit
5205951149
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ func (w *worker) Run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *worker) done(msg types.WorkerMessage) {
|
func (w *worker) done(msg types.WorkerMessage) {
|
||||||
w.w.PostMessage(&types.Done{types.RespondTo(msg)}, nil)
|
w.w.PostMessage(&types.Done{Message: types.RespondTo(msg)}, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *worker) err(msg types.WorkerMessage, err error) {
|
func (w *worker) err(msg types.WorkerMessage, err error) {
|
||||||
|
|
Loading…
Reference in a new issue