From 64ad6514a3e92c42b23d7a93da86c91b5a5ea362 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 30 Jun 2023 16:43:01 +1200 Subject: [PATCH] suggestion from review --- scripts/validate-yaml.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/validate-yaml.py b/scripts/validate-yaml.py index b7d052eb..6e787878 100644 --- a/scripts/validate-yaml.py +++ b/scripts/validate-yaml.py @@ -78,10 +78,10 @@ class StorageChecker: def main(): storage_checker = StorageChecker() - final_checks = True + root_mount = True if sys.argv[1:2] == ['--no-root-mount']: - final_checks = False + root_mount = False sys.argv.pop(1) actions = [] @@ -96,7 +96,7 @@ def main(): print('checking {} failed'.format(action)) raise - if final_checks: + if root_mount: storage_checker.final_checks()