Fix build

This commit is contained in:
Neil Alexander 2020-07-07 16:54:14 +01:00
parent 51fd532940
commit de0f427ddc

View file

@ -382,7 +382,7 @@ func (oq *destinationQueue) nextTransaction(
// since we shouldn't queue things indefinitely in response // since we shouldn't queue things indefinitely in response
// to a 400-ish error // to a 400-ish error
_, err = oq.client.SendTransaction(context.TODO(), t) _, err = oq.client.SendTransaction(context.TODO(), t)
switch e := err.(type) { switch err.(type) {
case nil: case nil:
// No error was returned so the transaction looks to have // No error was returned so the transaction looks to have
// been successfully sent. // been successfully sent.