Skip to content

Commit

Permalink
zabbix-vsphere-import: Fix host group creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Aug 21, 2014
1 parent 9607258 commit c4d816a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zabbix/zabbix-vsphere-import
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ class ZabbixConnector(object):
# Create the group if missing
print ' + Creating Zabbix host group %s' % group
result = self.create_host_group(name=group)
group_id = result['result']['groupids'][0]
group_id = result[0]
print ' + Host group created with group id %s' % group_id

groups.append({ 'groupid': group_id })
Expand Down

0 comments on commit c4d816a

Please sign in to comment.