Skip to content

Commit

Permalink
Typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Jan 5, 2015
1 parent 0bb7c42 commit 7866367
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vpoller/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ def host_perf_counter_info(self, msg):

try:
metric_id = self.si.content.perfManager.QueryAvailablePerfMetric(entity=obj)
except pyVmomi.VmomiSupport.InvalidArgument as e:
except pyVmomi.vim.InvalidArgument as e:
return {
'success': 1,
'msg': 'Cannot retrieve performance counters for %s: %s' % (msg['name'], e)
Expand Down Expand Up @@ -1566,7 +1566,7 @@ def vm_perf_counter_info(self, msg):

try:
metric_id = self.si.content.perfManager.QueryAvailablePerfMetric(entity=obj)
except pyVmomi.VmomiSupport.InvalidArgument as e:
except pyVmomi.vim.InvalidArgument as e:
return {
'success': 1,
'msg': 'Cannot retrieve performance counters for %s: %s' % (msg['name'], e)
Expand Down Expand Up @@ -2478,7 +2478,7 @@ def datastore_perf_counter_info(self, msg):

try:
metric_id = self.si.content.perfManager.QueryAvailablePerfMetric(entity=obj)
except pyVmomi.VmomiSupport.InvalidArgument as e:
except pyVmomi.vim.InvalidArgument as e:
return {
'success': 1,
'msg': 'Cannot retrieve performance counters for %s: %s' % (msg['name'], e)
Expand Down

0 comments on commit 7866367

Please sign in to comment.