MarcusSorealheis commented on code in PR #1593: URL: https://github.com/apache/solr/pull/1593#discussion_r1181217317
########## solr/webapp/web/js/angular/controllers/cloud.js: ########## @@ -198,10 +194,13 @@ var nodesSubController = function($scope, Collections, System, Metrics) { for (var replicaName in replicas) { var core = replicas[replicaName]; core.name = replicaName; - core.label = coreNameToLabel(core['core']); + core.replica = core['core'].replace(/.*_(replica_.*)$/, '\$1'); core.collection = collection.name; core.shard = shard.name; core.shard_state = shard.state; + core.label = core['collection'] + "_" + + (core['shard'] + "_").replace(/shard(\d+)_/, 's\$1') + + core['replica'].replace(/replica_?[ntp]?(\d+)/, 'r\$1'); Review Comment: Does the test failure have anything to do with the change? It doesn't seem like it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org