Skip to content

Commit

Permalink
Merge pull request #393 from jlledom/async-empty-credentials
Browse files Browse the repository at this point in the history
Remove empty credentials
  • Loading branch information
jlledom authored Jun 18, 2024
2 parents f53f084 + cacd53c commit a48c695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/3scale/backend/async_redis/protocol/extended_resp2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ExtendedRESP2

def initialize(db: nil, credentials: [])
@db = db
@credentials = credentials
@credentials = credentials.reject{_1.to_s.strip.empty?}
end

def client(stream)
Expand Down

0 comments on commit a48c695

Please sign in to comment.