Update the other factory reset to use integer too

This commit is contained in:
Ian McEwen committed 2026-05-31 12:30:34 -07:00
1 parent c5fc51ea37
commit badf7279af
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -728,7 +728,7 @@ class Node:
self.ensureSessionKey()
p = admin_pb2.AdminMessage()
if full:
p.factory_reset_device = True
p.factory_reset_device = 1
logger.info(f"Telling node to factory reset (full device reset)")
else:
p.factory_reset_config = 1