Remove obsolete conditional

This postfix conditional is left over from the refactor in #1584 and is no longer needed.
This commit is contained in:
Andy Stewart
2025-06-20 10:53:17 +01:00
committed by GitHub
parent 2bcb313590
commit cfaa4fb0db

View File

@@ -17,7 +17,7 @@ class Kamal::Secrets::Adapters::OnePassword < Kamal::Secrets::Adapters::Base
def fetch_secrets(secrets, from:, account:, session:)
if secrets.blank?
fetch_all_secrets(from: from, account: account, session: session) if secrets.blank?
fetch_all_secrets(from: from, account: account, session: session)
else
fetch_specified_secrets(secrets, from: from, account: account, session: session)
end