Skip to content

Commit

Permalink
server: Add missing handling for explain=fails to the REST API.
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Campbell <62760750+acamatcisco@users.noreply.github.com>
  • Loading branch information
acamatcisco authored and ashutosh-narkar committed Jul 23, 2024
1 parent 959f9e5 commit d48fdd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2737,6 +2737,8 @@ func getExplain(p []string, zero types.ExplainModeV1) types.ExplainModeV1 {
switch x {
case string(types.ExplainNotesV1):
return types.ExplainNotesV1
case string(types.ExplainFailsV1):
return types.ExplainFailsV1
case string(types.ExplainFullV1):
return types.ExplainFullV1
case string(types.ExplainDebugV1):
Expand Down

0 comments on commit d48fdd9

Please sign in to comment.