From 6eba4f3a7eecfb55c3b481e10dc5d7da4d82386c Mon Sep 17 00:00:00 2001 From: Zoe Lu Date: Tue, 8 May 2018 11:26:22 +1000 Subject: [PATCH] add condition on addressPrefix for subnetTika --- nested/network.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nested/network.json b/nested/network.json index 1fa2a80..ab3513e 100644 --- a/nested/network.json +++ b/nested/network.json @@ -47,10 +47,9 @@ } }, { - "condition": "[equals(parameters('moodleCommon').tikaService, 'tika')]", "name": "[parameters('moodleCommon').subnetTika]", "properties": { - "addressPrefix": "[parameters('moodleCommon').subnetTikaRange]" + "addressPrefix": "[if(equals(parameters('moodleCommon').tikaService, 'tika'), parameters('moodleCommon').subnetTikaRange, json('null'))]" } }, {