Skip to content

Commit

Permalink
Merge pull request #1351 from grycap/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
micafer authored Mar 24, 2022
2 parents 1e49dce + b4de464 commit 73c8994
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion IM/connectors/Azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,9 @@ def create_nets(self, radl, credentials, subscription_id, group_name, inf):
if net.getValue("provider_id"):
parts = net.getValue("provider_id").split(".")
if len(parts) != 2:
raise Exception("Invalid provider_id format: net_name.subnet_name")
parts = net.getValue("provider_id").split("/")
if len(parts) != 2:
raise Exception("Invalid provider_id format: net_name.subnet_name")
vnet_name = parts[0]
subnet_name = parts[1]

Expand Down
1 change: 0 additions & 1 deletion test/unit/connectors/Azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from distutils.command.config import config
import sys
import unittest

Expand Down

0 comments on commit 73c8994

Please sign in to comment.