mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-23 12:05:27 +08:00
feat(ql3): close public local release pair
This commit is contained in:
@@ -311,10 +311,10 @@ function validatePublicationPlan(plan) {
|
||||
!Array.isArray(plan.images) ||
|
||||
plan.images.length !==
|
||||
(plan.release.scope === 'local'
|
||||
? 1
|
||||
? 2
|
||||
: plan.release.scope === 'cluster'
|
||||
? 4
|
||||
: 5)
|
||||
: 6)
|
||||
) {
|
||||
fail('publication plan shape is invalid');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user