Skip to content

Commit

Permalink
Return result as a list in 'vm.disk.discover'
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Apr 4, 2014
1 parent 13c4ad6 commit 7a6b1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vpoller/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ def vm_disk_discover(self, msg):
r = {
'success': 0,
'msg': 'Successfully discovered objects',
'result': result,
'result': [ result ],
}

logging.debug('[%s] Returning result from operation: %s', self.host, r)
Expand Down

0 comments on commit 7a6b1df

Please sign in to comment.