Skip to content

Commit d48fdd9

Browse files
acamatciscoashutosh-narkar
authored andcommitted
server: Add missing handling for explain=fails to the REST API.
Signed-off-by: Aaron Campbell <[email protected]>
1 parent 959f9e5 commit d48fdd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: server/server.go

+2
Original file line numberDiff line numberDiff line change
@@ -2737,6 +2737,8 @@ func getExplain(p []string, zero types.ExplainModeV1) types.ExplainModeV1 {
27372737
switch x {
27382738
case string(types.ExplainNotesV1):
27392739
return types.ExplainNotesV1
2740+
case string(types.ExplainFailsV1):
2741+
return types.ExplainFailsV1
27402742
case string(types.ExplainFullV1):
27412743
return types.ExplainFullV1
27422744
case string(types.ExplainDebugV1):

0 commit comments

Comments
 (0)