From db69d5a2850cebcffeef4f3c3562f55857a94e8a Mon Sep 17 00:00:00 2001
From: Robert Latta <robert.latta@geant.org>
Date: Wed, 12 Feb 2025 11:43:43 +0000
Subject: [PATCH] flake 8; function name change

---
 inventory_provider/routes/classifier.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/inventory_provider/routes/classifier.py b/inventory_provider/routes/classifier.py
index d5df045..efcc88a 100644
--- a/inventory_provider/routes/classifier.py
+++ b/inventory_provider/routes/classifier.py
@@ -14,7 +14,7 @@ These endpoints are intended for use by Dashboard V3.
 /classifier/juniper-link-info
 -----------------------------
 
-.. autofunction:: inventory_provider.routes.classifier.get_juniper_link_info
+.. autofunction:: inventory_provider.routes.classifier.handle_link_info_request
 
 
 /classifier/infinera-fiberlink-info
@@ -250,7 +250,7 @@ def _link_interface_info(r, hostname, interface):
     Generates the 'interface' field for
     the juniper-link-info response payload.
 
-    only called from get_juniper_link_info
+    only called from handle_link_info_request
 
     :param r: redis connection
     :param hostname: router hostname
@@ -380,7 +380,7 @@ def handle_epipe_sap_info_request(source_equipment: str, service_id: str, vpn_id
 
     cache_key = \
         f'classifier-cache:epipe_sap:{source_equipment}:{service_id}:{vpn_id}'
-    
+
     print(f'cache_key: {cache_key}')
 
     result = _ignore_cache_or_retrieve(request, cache_key, r)
@@ -400,7 +400,7 @@ def handle_epipe_sap_info_request(source_equipment: str, service_id: str, vpn_id
         result = json.dumps(result)
         # cache this data for the next call
         r.set(cache_key, result.encode('utf-8'))
-    
+
     return Response(result, mimetype="application/json")
 
 
-- 
GitLab