Skip to content

Commit

Permalink
Mention that either there are no registered or enabled agents during
Browse files Browse the repository at this point in the history
vPoller Worker startup
  • Loading branch information
dnaeon committed Mar 31, 2014
1 parent aac6b38 commit 916daab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vpoller/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ def spawn_vsphere_agents(self):
db_agents = db.get_agents(only_enabled=True)

if not db_agents:
logging.warning('There are no vSphere Agents registered')
raise VPollerException, 'There are no vSphere Agents registered'
logging.warning('No registered or enabled vSphere Agents found')
raise VPollerException, 'No registered or enabled vSphere Agents found'

for each_agent in db_agents:
agent = VSphereAgent(
Expand Down

0 comments on commit 916daab

Please sign in to comment.