Skip to content

Commit

Permalink
Fix #982
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Feb 6, 2020
1 parent ea26f08 commit a40b94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IM/tosca/Tosca.py
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ def _gen_network(self, node):
network_router = self._final_function_result(node.get_property_value('gateway_ip'), node)

# TODO: get more properties -> must be implemented in the RADL
if nework_type.lower() == "public":
if nework_type and nework_type.lower() == "public":
res.setValue("outbound", "yes")

if network_name:
Expand Down

0 comments on commit a40b94a

Please sign in to comment.