fix: Add a back up for isAtomicPushAllowed as false (#33647)
This commit is contained in:
parent
519b53ea9b
commit
6edea92517
|
|
@ -14,7 +14,9 @@ public class GitConfigCEImpl implements GitConfigCE {
|
|||
|
||||
@Override
|
||||
public Mono<Boolean> getIsAtomicPushAllowed() {
|
||||
return tenantService.getTenantConfiguration().map(tenant -> tenant.getTenantConfiguration()
|
||||
.getIsAtomicPushAllowed());
|
||||
return tenantService
|
||||
.getTenantConfiguration()
|
||||
.map(tenant -> tenant.getTenantConfiguration().getIsAtomicPushAllowed())
|
||||
.switchIfEmpty(Mono.just(false));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ public class TenantConfigurationCE implements Serializable {
|
|||
|
||||
Boolean isStrongPasswordPolicyEnabled;
|
||||
|
||||
private Boolean isAtomicPushAllowed;
|
||||
private Boolean isAtomicPushAllowed = false;
|
||||
|
||||
public void addThirdPartyAuth(String auth) {
|
||||
if (thirdPartyAuths == null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user