summaryrefslogtreecommitdiff
path: root/src/migration-scripts/qos/1-to-2
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/qos/1-to-2')
-rwxr-xr-xsrc/migration-scripts/qos/1-to-22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/qos/1-to-2 b/src/migration-scripts/qos/1-to-2
index 14d3a6e0a..a689bacc5 100755
--- a/src/migration-scripts/qos/1-to-2
+++ b/src/migration-scripts/qos/1-to-2
@@ -18,7 +18,7 @@ from sys import argv,exit
from vyos.base import Warning
from vyos.configtree import ConfigTree
-from vyos.util import read_file
+from vyos.utils.file import read_file
def bandwidth_percent_to_val(interface, percent) -> int:
speed = read_file(f'/sys/class/net/{interface}/speed')