Skip to content

Commit

Permalink
Fix circuit error type
Browse files Browse the repository at this point in the history
  • Loading branch information
plorenz committed Jun 4, 2024
1 parent 7b83a1f commit 7b7db74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ func (network *Network) CreateCircuit(params CreateCircuitParams) (*Circuit, err
// 1: Allocate Circuit Identifier
circuitId, err := network.circuitController.nextCircuitId()
if err != nil {
network.CircuitFailedEvent(circuitId, params, startTime, nil, nil, CircuitFailureInvalidService)
network.CircuitFailedEvent(circuitId, params, startTime, nil, nil, CircuitFailureIdGenerationError)
return nil, err
}
ctx.WithFields(map[string]interface{}{
Expand Down

0 comments on commit 7b7db74

Please sign in to comment.