Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'tkt_white_3703_hostnames_pullRequest' into white/integr…
Browse files Browse the repository at this point in the history
…acion
  • Loading branch information
micabot committed Feb 21, 2017
2 parents ed43dc8 + 485d207 commit c33615b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion model/controller.py
Expand Up @@ -823,7 +823,7 @@ def newInterface(self, name, mac="00:00:00:00:00:00",
ipv6_address=ipv6_address, ipv6_prefix=ipv6_prefix,
ipv6_gateway=ipv6_gateway, ipv6_dns=ipv6_dns,
network_segment=network_segment,
hostname_resolution=hostname_resolution, parent_id=parent_id)
hostnames=hostname_resolution, parent_id=parent_id)

def newService(self, name, protocol="tcp?", ports=[], status="running",
version="unknown", description="", parent_id=None):
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin.py
Expand Up @@ -167,7 +167,7 @@ def createAndAddInterface(
ipv6_address=ipv6_address, ipv6_prefix=ipv6_prefix,
ipv6_gateway=ipv6_gateway, ipv6_dns=ipv6_dns,
network_segment=network_segment,
hostname_resolution=hostname_resolution, parent_id=host_id)
hostnames=hostname_resolution, parent_id=host_id)

int_obj._metadata.creator = self.id
self.__addPendingAction(modelactions.ADDINTERFACE, host_id, int_obj)
Expand Down

0 comments on commit c33615b

Please sign in to comment.