diff options
Diffstat (limited to 'app/discover/fetchers/db/db_fetch_az_network_hosts.py')
-rw-r--r-- | app/discover/fetchers/db/db_fetch_az_network_hosts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/discover/fetchers/db/db_fetch_az_network_hosts.py b/app/discover/fetchers/db/db_fetch_az_network_hosts.py index 09043ea..700b1cd 100644 --- a/app/discover/fetchers/db/db_fetch_az_network_hosts.py +++ b/app/discover/fetchers/db/db_fetch_az_network_hosts.py @@ -17,9 +17,9 @@ class DbFetchAZNetworkHosts(DbAccess): def get(self, id): query = """ SELECT DISTINCT host, host AS id, configurations - FROM neutron.agents + FROM {}.agents WHERE agent_type = 'Metadata agent' - """ + """.format(self.neutron_db) results = self.get_objects_list(query, "host") for r in results: self.set_host_details(r) |