Skip to content

Commit

Permalink
added comment TODO that we need to handle use case
Browse files Browse the repository at this point in the history
where user wants to update existing vnet
  • Loading branch information
Jeremy Schulman committed Dec 17, 2016
1 parent e700e4b commit 171b6cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/aos_blueprint_virtnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def ensure_present(module, blueprint):

this_vnet = blueprint.VirtualNetworks[name]
if this_vnet.exists:
# TODO - it's possible that the user is providing new
# vnet data, but here we are ignoring it. need to handle
# this use-case better
module.exit_json(changed=False, contents=this_vnet.value)

try:
Expand Down

0 comments on commit 171b6cc

Please sign in to comment.