WindowsAzure/azure-sdk-tools-xplat — pull request #536 by tomconte (2013-05-16 14:46:29+00:00)
Title: Fix error when creating VM in Affinity Group

Proposed fix for issue #525.

I moved the definition of _svcMgmtRoleCreateInternal to the top of function doSvcMgmtRoleCreate. Otherwise it's undefined when reaching the case where an affinityGroup is specified instead of a Location.