Renamed function for better clarity

This commit is contained in:
Abby Gourlay 2020-03-06 22:57:13 +00:00
parent e5cde15ad2
commit 298c8b6f25
2 changed files with 3 additions and 3 deletions

View File

@ -422,7 +422,7 @@ class API(object):
return response.json()
else:
LOG.error("Failed to login to server with status code: "+str(response.status_code))
LOG.error(response.text)
LOG.error("Server Response:\n"+str(response.content))
LOG.debug(headers)
return {}

View File

@ -59,7 +59,7 @@ class ConnectionManager(object):
# Clone the credentials
credentials = self.credentials.get()
found_servers = self._find_servers(self._server_discovery())
found_servers = self.process_found_servers(self._server_discovery())
if not found_servers and not credentials['Servers']: # back out right away, no point in continuing
LOG.info("Found no servers")
@ -245,7 +245,7 @@ class ConnectionManager(object):
LOG.exception("Error trying to find servers: %s", e)
return servers
def _find_servers(self, found_servers):
def process_found_servers(self, found_servers):
servers = []