Ocpp: remove temporary debug messages (#19371)
This commit is contained in:
parent
62b33839b1
commit
22ae11618e
1 changed files with 0 additions and 4 deletions
|
|
@ -147,8 +147,6 @@ func NewOCPP(ctx context.Context,
|
|||
) (*OCPP, error) {
|
||||
log := util.NewLogger(fmt.Sprintf("%s-%d", lo.CoalesceOrEmpty(id, "ocpp"), connector))
|
||||
|
||||
log.DEBUG.Printf("!! registering %s:%d", id, connector)
|
||||
|
||||
cp, err := ocpp.Instance().RegisterChargepoint(id,
|
||||
func() *ocpp.CP {
|
||||
return ocpp.NewChargePoint(log, id)
|
||||
|
|
@ -171,8 +169,6 @@ func NewOCPP(ctx context.Context,
|
|||
return nil, err
|
||||
}
|
||||
|
||||
log.DEBUG.Printf("!! connected %s:%d", id, connector)
|
||||
|
||||
if cp.NumberOfConnectors > 0 && connector > cp.NumberOfConnectors {
|
||||
return nil, fmt.Errorf("invalid connector: %d", connector)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue