server: Add missing handling for explain=fails to the REST API.

Signed-off-by: Aaron Campbell <62760750+acamatcisco@users.noreply.github.com>
This commit is contained in:
Aaron Campbell
2024-07-23 19:23:51 -03:00
committed by Ashutosh Narkar
parent 959f9e54b4
commit d48fdd99ac
+2
View File
@@ -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):