Commit f86da0b8 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch '217518-10io-use-package_id' into 'master'

Don't load package to fetch the id

See merge request gitlab-org/gitlab!31882
parents a100b26d 79338af0
......@@ -106,7 +106,7 @@ module Packages
# used by ExclusiveLeaseGuard
def lease_key
package_id = existing_package ? existing_package.id : @package_file.package.id
package_id = existing_package ? existing_package.id : @package_file.package_id
"packages:nuget:update_package_from_metadata_service:package:#{package_id}"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment