Skip to content

Commit 8405cf7

Browse files
authored
INTERNAL: Allow blank network names for VM interfaces (#835)
1 parent d854a96 commit 8405cf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • common/src/stack/command/stack/commands/report/vm

common/src/stack/command/stack/commands/report/vm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def getInterfaceByNetwork(self, host, network):
168168
"""
169169

170170
for interface in self.call('list.host.interface', [host]):
171-
if interface['network'] == network and network != None:
171+
if interface['network'] == network:
172172
return interface['interface']
173173

174174
def gen_disks(self, host, disks):

0 commit comments

Comments
 (0)