Skip to content

Commit

Permalink
Fix reload() override where it should take optional arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Dec 30, 2024
1 parent ea040bd commit 707ebc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def credential(name)
end
end

def reload
def reload(...)
@credential_cache = {}
super
end
Expand Down

0 comments on commit 707ebc8

Please sign in to comment.