Skip to content

Commit 6fa54c4

Browse files
SOLR-15823: Pass an options object to the Admin UI levels listing call
Adding the optional 'nodes' parameter to the levels GET changed the generated JS client signature from listAllLoggersAndLevels(callback) to listAllLoggersAndLevels(opts, callback). The logging screen still passed its callback first, so it landed in 'opts' and the response handler never ran. Pass an empty options object, as the neighbouring fetchLocalLogMessages call already does.
1 parent caf3dbf commit 6fa54c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎solr/webapp/web/js/angular/controllers/logging.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ solrAdminApp.controller('LoggingController',
126126
};
127127

128128
$scope.refresh = function() {
129-
LoggingV2.listAllLoggersAndLevels(function(error, data, response) {
129+
LoggingV2.listAllLoggersAndLevels({}, function(error, data, response) {
130130
$timeout(function() {
131131
if (error) { ApiErrorHandler.handle(response); return; }
132132
$scope.logging = makeTree(data.loggers, "");

0 commit comments

Comments
 (0)