Skip to content

Commit

Permalink
Update pkg/scd/operational_intents_handler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Pelletier <[email protected]>
  • Loading branch information
Shastick and BenjaminPelletier authored Aug 28, 2024
1 parent e4be985 commit a90d4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scd/operational_intents_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (a *Server) DeleteOperationalIntentReference(ctx context.Context, req *rest
ovn := scdmodels.OVN(req.Ovn)
if ovn == "" {
return restapi.DeleteOperationalIntentReferenceResponseSet{Response400: &restapi.ErrorResponse{
Message: dsserr.Handle(ctx, stacktrace.NewErrorWithCode(dsserr.BadRequest, "Missing OVN"))}}
Message: dsserr.Handle(ctx, stacktrace.NewErrorWithCode(dsserr.BadRequest, "Missing OVN for operational intent to modify"))}}
}

var response *restapi.ChangeOperationalIntentReferenceResponse
Expand Down

0 comments on commit a90d4b5

Please sign in to comment.