[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-web/release] Use "as" field for bubble graphs



commit b74b569361ca3b9bc4b0c96dcd8632c11c58dd61
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date:   Wed Sep 12 10:23:10 2018 +0100

    Use "as" field for bubble graphs
---
 src/main/resources/web/js/bubbles.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/web/js/bubbles.js b/src/main/resources/web/js/bubbles.js
index b8c7194..ca88505 100644
--- a/src/main/resources/web/js/bubbles.js
+++ b/src/main/resources/web/js/bubbles.js
@@ -7,9 +7,9 @@ var graphs = {
          group_id_func: function(relay) { return undefined; },
          group_name_func: function(relay) { return 'Relays'; },
   }, 'as': {
-         extra_fields: ['as_number', 'as_name'],
+         extra_fields: ['as', 'as_name'],
          group: "autonomous systems",
-         group_id_func: function(relay) { return relay.as_number; },
+         group_id_func: function(relay) { return relay.as; },
          group_name_func: function(relay) { return relay.as_name; },
   }, 'contact': {
          extra_fields: ['contact'],



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits