Skip to content

Commit

Permalink
[api] fix multibuild flavors for checkconstraints
Browse files Browse the repository at this point in the history
obs#14844
  • Loading branch information
adrianschroeter committed Aug 28, 2023
1 parent de86991 commit ec39837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/controllers/worker/command_controller.rb
Expand Up @@ -5,7 +5,7 @@ def run
raise UnknownCommandError, "Unknown command '#{params[:cmd]}' for path #{request.path}" unless params[:cmd] == 'checkconstraints'

# read permission checking
Package.get_by_project_and_name(params[:project], params[:package])
Package.get_by_project_and_name(params[:project], params[:package], {follow_multibuild: true})

path = '/worker'
path += build_query_from_hash(params, [:cmd, :project, :package, :repository, :arch])
Expand Down

0 comments on commit ec39837

Please sign in to comment.