Always force accept into the API after checking for acceptable ourselves
This removes the 2nd line of defense, but there is no API to accept multiple stagings at once to avoid the underlying problem. Fixes #2364
This commit is contained in:
parent
7faf81181e
commit
a354d6c882
@ -102,9 +102,9 @@ class AcceptCommand(object):
|
||||
print('delete links to packages pending deletion...')
|
||||
self.delete_linked()
|
||||
|
||||
opts = {}
|
||||
if force:
|
||||
opts['force'] = '1'
|
||||
# we have checked ourselves and accepting one staging project creates a race
|
||||
# for the other staging projects to appear building again
|
||||
opts = { 'force': '1' }
|
||||
|
||||
print('triggering staging accepts...')
|
||||
for project in staging_packages.keys():
|
||||
|
Loading…
x
Reference in New Issue
Block a user