Skip to content

Commit fd1d6c4

Browse files
necusjzEthan Yang
andauthored
fix: remove restriction (#30592)
Co-authored-by: Ethan Yang <[email protected]>
1 parent 38a3733 commit fd1d6c4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/azure-cli/azure/cli/command_modules/network/operations/load_balancer.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -637,11 +637,6 @@ def pre_operations(self):
637637
subnet = f"{virtual_network}/subnets/{subnet}"
638638
args.subnet = subnet
639639

640-
if not virtual_network and not subnet:
641-
raise ArgumentUsageError(
642-
"vnet or subnet is required."
643-
)
644-
645640
def _output(self, *args, **kwargs):
646641
result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True)
647642
return result

0 commit comments

Comments
 (0)