From de0f427ddc1053e8c5eb9203c0ad0b5589895cd8 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 7 Jul 2020 16:54:14 +0100 Subject: [PATCH] Fix build --- federationsender/queue/destinationqueue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/federationsender/queue/destinationqueue.go b/federationsender/queue/destinationqueue.go index 2e5916e8..d9d53188 100644 --- a/federationsender/queue/destinationqueue.go +++ b/federationsender/queue/destinationqueue.go @@ -382,7 +382,7 @@ func (oq *destinationQueue) nextTransaction( // since we shouldn't queue things indefinitely in response // to a 400-ish error _, err = oq.client.SendTransaction(context.TODO(), t) - switch e := err.(type) { + switch err.(type) { case nil: // No error was returned so the transaction looks to have // been successfully sent.