Skip to content

Commit 5268cd9

Browse files
lwlwilliamlorenzodonini
authored andcommitted
Format with "%v" instead of "%d"
1 parent 1836697 commit 5268cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/1.6/cs/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (handler *CentralSystemHandler) OnBootNotification(chargePointId string, re
7878
}
7979

8080
func (handler *CentralSystemHandler) OnDataTransfer(chargePointId string, request *core.DataTransferRequest) (confirmation *core.DataTransferConfirmation, err error) {
81-
logDefault(chargePointId, request.GetFeatureName()).Infof("received data %d", request.Data)
81+
logDefault(chargePointId, request.GetFeatureName()).Infof("received data %v", request.Data)
8282
return core.NewDataTransferConfirmation(core.DataTransferStatusAccepted), nil
8383
}
8484

0 commit comments

Comments
 (0)