Skip to content

Commit

Permalink
fixup! Fix: Operators had to specify network interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Sep 19, 2023
1 parent 52b8bf1 commit 770834e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm_supervisor/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_default_interface() -> Optional[str]:
with open("/proc/net/route", "r") as f:
for line in f.readlines():
parts = line.strip().split()
if parts[1] == '00000000': # Indicates default route
if parts[1] == "00000000": # Indicates default route
return parts[0]
return None

Expand Down

0 comments on commit 770834e

Please sign in to comment.