New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mgr/dashboard_v2: Removed unused tools.detail_route()
#20765
mgr/dashboard_v2: Removed unused tools.detail_route()
#20765
Conversation
09801d8
to
525bcc4
Compare
retest this please |
@tchaikov looks like the dashboard_v2 smoke test needs an improvement. |
@sebastian-philipp i believe the improvement has been merged as a part of #20768. that's why i re-triggerred the "make check" run after the merge. =) |
@sebastian-philipp the backend API tests are failing:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the api tests are failing...
@sebastian-philipp I just caught the same failure while testing another PR, maybe the failure is caused by some commit merged to master recently and not your PR. |
@rjfd This fixes my issue: git diff src/common/config.cc | cat
diff --git a/src/common/config.cc b/src/common/config.cc
index a1f0fbdbf2..1932e0d3b3 100644
--- a/src/common/config.cc
+++ b/src/common/config.cc
@@ -503,7 +503,9 @@ void md_config_t::config_options(Formatter *f)
f->open_array_section("options");
for (const auto& i: schema) {
const Option &opt = i.second;
+ f->open_object_section("option");
opt.dump(f);
+ f->close_section();
}
f->close_section();
} As the current API endpoint returns garbage right now. |
@sebastian-philipp that part of the of |
I created an issue in http://tracker.ceph.com/issues/23265 to keep track of this bug |
See #20782 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are two logical changes in this commit. Please split the commit in two, where one takes care of the detail_route removal, and the other removes the requests
package dependency from the unit tests.
525bcc4
to
ae8ef89
Compare
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
* Made `RESTControllerTest` inherent from `ControllerTestCase` * Refactored `ControllerTestCase` * Simplified all tests that inherent from `ControllerTestCase` Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
ae8ef89
to
7b912b8
Compare
@rjfd commit is now split in two. |
dashboard QA suite ran successfully: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…detail_route mgr/dashboard_v2: Removed unused `tools.detail_route()` Reviewed-by: Ricardo Dias <rdias@suse.com> (cherry picked from commit 9d6eaa7) Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
…detail_route mgr/dashboard_v2: Removed unused `tools.detail_route()` Reviewed-by: Ricardo Dias <rdias@suse.com> (cherry picked from commit 9d6eaa7) Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
…detail_route mgr/dashboard_v2: Removed unused `tools.detail_route()` Reviewed-by: Ricardo Dias <rdias@suse.com> (cherry picked from commit 9d6eaa7) Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
…detail_route mgr/dashboard_v2: Removed unused `tools.detail_route()` Reviewed-by: Ricardo Dias <rdias@suse.com> (cherry picked from commit 9d6eaa7) Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Refactored corresponding
RESTControllerTest
:RESTControllerTest
inherent fromControllerTestCase
ControllerTestCase
ControllerTestCase
Signed-off-by: Sebastian Wagner sebastian.wagner@suse.com