From ac53086df25046da7ede3dbefced5d8af8afa6c0 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Wed, 12 Jun 2024 10:43:47 -0400 Subject: [PATCH] pybind/mgr/dashboard: show context diff for openapi check Signed-off-by: Patrick Donnelly (cherry picked from commit 061a7e518ee642ea3f86da93c2e696e52e2cc343) --- src/pybind/mgr/dashboard/tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/tox.ini b/src/pybind/mgr/dashboard/tox.ini index 0dfeaf60c89..fdb2dd75809 100644 --- a/src/pybind/mgr/dashboard/tox.ini +++ b/src/pybind/mgr/dashboard/tox.ini @@ -170,7 +170,7 @@ setenv = check: OPENAPI_FILE_TMP={envtmpdir}/{env:OPENAPI_FILE} commands = python3 -m dashboard.controllers.docs {env:OPENAPI_FILE_TMP:{env:OPENAPI_FILE}} - check: diff {env:OPENAPI_FILE} {env:OPENAPI_FILE_TMP} + check: diff -au {env:OPENAPI_FILE} {env:OPENAPI_FILE_TMP} [testenv:openapi-doc] description = Generate Sphinx documentation from OpenAPI specification -- 2.39.5