Skip to content

Commit

Permalink
Format with "%v" instead of "%d"
Browse files Browse the repository at this point in the history
  • Loading branch information
lwlwilliam authored and lorenzodonini committed Jul 2, 2024
1 parent 1836697 commit 5268cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/1.6/cs/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (handler *CentralSystemHandler) OnBootNotification(chargePointId string, re
}

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

Expand Down

0 comments on commit 5268cd9

Please sign in to comment.