Skip to content

Commit

Permalink
Land #18400, Kerberos ticket_search fix passing in a workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
cdelafuente-r7 committed Oct 23, 2023
2 parents 77a8b0e + c1abf37 commit b0b4da5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def objects(options, &block)
unless (info = loot_info(options)).blank?
filter[:info] = JSON.generate(info)
end
loots = framework.db.loots(workspace: myworkspace, ltype: 'mit.kerberos.ccache', **filter).select do |loot|
loots = framework.db.loots(workspace: options.fetch(:workspace) { workspace }, ltype: 'mit.kerberos.ccache', **filter).select do |loot|
# Remove any loot that isn't 'mit.kerberos.ccache'
# Necessary when an `id` is provided in which case the `ltype` search above is ignored
loot.ltype == 'mit.kerberos.ccache'
Expand Down

0 comments on commit b0b4da5

Please sign in to comment.