From: Patrick Donnelly Date: Wed, 12 Jun 2024 14:43:47 +0000 (-0400) Subject: pybind/mgr/dashboard: show context diff for openapi check X-Git-Tag: v20.0.0~1656^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=061a7e518ee642ea3f86da93c2e696e52e2cc343;p=ceph.git pybind/mgr/dashboard: show context diff for openapi check Signed-off-by: Patrick Donnelly --- diff --git a/src/pybind/mgr/dashboard/tox.ini b/src/pybind/mgr/dashboard/tox.ini index 0dfeaf60c89c..fdb2dd758099 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