From 024c2381109017106eb963a64591ecd4dcd5ec14 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 8 Sep 2024 15:40:13 +0200 Subject: [PATCH] chore: remove defer (#15949) --- charger/ocpp/connector_core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charger/ocpp/connector_core.go b/charger/ocpp/connector_core.go index c45f54e4d..66ddd38e6 100644 --- a/charger/ocpp/connector_core.go +++ b/charger/ocpp/connector_core.go @@ -39,7 +39,7 @@ func (conn *Connector) StatusNotification(request *core.StatusNotificationReques if conn.isWaitingForAuth() { if conn.remoteIdTag != "" { - defer conn.remoteStartTransactionRequest() + conn.remoteStartTransactionRequest() } else { conn.log.DEBUG.Printf("waiting for local authentication") }