Skip to content

Commit 1ba611f

Browse files
committed
fix typo
1 parent 25379d3 commit 1ba611f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/determine-reboot-cause

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def get_reboot_cause_dict(previous_reboot_cause, comment, gen_time):
158158

159159
return reboot_cause_dict
160160

161-
def determin_reboot_cause():
161+
def determine_reboot_cause():
162162
# This variable is kept for future-use purpose. When proc_cmd_line/vendor/software provides
163163
# any additional_reboot_info it will be stored as a "comment" in REBOOT_CAUSE_HISTORY_FILE
164164
additional_reboot_info = "N/A"
@@ -220,7 +220,7 @@ def main():
220220
if os.path.exists(PREVIOUS_REBOOT_CAUSE_FILE):
221221
os.remove(PREVIOUS_REBOOT_CAUSE_FILE)
222222

223-
previous_reboot_cause, additional_reboot_info = determin_reboot_cause()
223+
previous_reboot_cause, additional_reboot_info = determine_reboot_cause()
224224

225225
# Current time
226226
reboot_cause_gen_time = str(datetime.datetime.now().strftime('%Y_%m_%d_%H_%M_%S'))

0 commit comments

Comments
 (0)