Romain dartigues fixes (#29169)

* cloud: azure: fix typo introduced in commit 16d23e9

The commit "Add reference to VNET resource group (#26052)"
removed an used variable.

* network: aos: error hint never shown
This commit is contained in:
Toshio Kuratomi 2017-09-09 16:20:53 -07:00 committed by GitHub
commit 6797221107
2 changed files with 4 additions and 5 deletions

View file

@ -150,12 +150,11 @@ def create_blueprint(module, aos, name):
except:
exc = get_exception()
msg = "Unable to create blueprint: %s" % exc.message
if 'UNPROCESSABLE ENTITY' in exc.message:
msg = 'likely missing dependencies'
else:
msg = exc.message
msg+= ' (likely missing dependencies)'
module.fail_json(msg="Unable to create blueprint: %s" % exc.message)
module.fail_json(msg=msg)
return blueprint