Skip to content

Commit

Permalink
fix(agent): Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
adityahase committed Jan 16, 2025
1 parent 3acaf03 commit d54ea00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def before_insert(self):

def is_server_archived(failure):
# Server was archived more than an hour ago
server = frappe.db.get_values(failure.server_type, failure.server, ["status", "modified"], as_dict=True)
server = frappe.db.get_value(failure.server_type, failure.server, ["status", "modified"], as_dict=True)
if (server.status == "Archived") and (server.modified < frappe.utils.add_to_date(None, hours=-1)):
return True
return False
Expand Down

0 comments on commit d54ea00

Please sign in to comment.