From 1ba611fc1a6dbcf20afed34920834e6aeadca7e7 Mon Sep 17 00:00:00 2001 From: sujinmkang Date: Tue, 16 Aug 2022 18:07:25 -0700 Subject: [PATCH] fix typo --- scripts/determine-reboot-cause | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/determine-reboot-cause b/scripts/determine-reboot-cause index 4320b41a7a02..6252947663e1 100755 --- a/scripts/determine-reboot-cause +++ b/scripts/determine-reboot-cause @@ -158,7 +158,7 @@ def get_reboot_cause_dict(previous_reboot_cause, comment, gen_time): return reboot_cause_dict -def determin_reboot_cause(): +def determine_reboot_cause(): # This variable is kept for future-use purpose. When proc_cmd_line/vendor/software provides # any additional_reboot_info it will be stored as a "comment" in REBOOT_CAUSE_HISTORY_FILE additional_reboot_info = "N/A" @@ -220,7 +220,7 @@ def main(): if os.path.exists(PREVIOUS_REBOOT_CAUSE_FILE): os.remove(PREVIOUS_REBOOT_CAUSE_FILE) - previous_reboot_cause, additional_reboot_info = determin_reboot_cause() + previous_reboot_cause, additional_reboot_info = determine_reboot_cause() # Current time reboot_cause_gen_time = str(datetime.datetime.now().strftime('%Y_%m_%d_%H_%M_%S'))