From 36122e56abe6023790805535e9cbfe4d9ff841a7 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sat, 25 Jul 2020 09:27:54 -0700 Subject: [PATCH] Fix collection method name --- hyperglass/execution/drivers/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperglass/execution/drivers/agent.py b/hyperglass/execution/drivers/agent.py index d3d68e9..b5cd38d 100644 --- a/hyperglass/execution/drivers/agent.py +++ b/hyperglass/execution/drivers/agent.py @@ -32,7 +32,7 @@ class AgentConnection(Connection): rest() connects to devices via HTTP for RESTful API communication """ - async def hyperglass_agent(self) -> Iterable: # noqa: C901 + async def collect(self) -> Iterable: # noqa: C901 """Connect to a device running hyperglass-agent via HTTP.""" log.debug(f"Query parameters: {self.query}")