Skip to content

Commit

Permalink
Add review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Kartheeswaran Kalidass <[email protected]>
  • Loading branch information
kaniyan committed Nov 30, 2021
1 parent 9b201ad commit 2c9c5e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public final Future<OperationResult<Void>> updateCredentials(
final Future<Tenant> tenantFuture = tenantInformationService.getTenant(tenantId, span);
return tenantFuture
.compose(tenant -> tenant.checkCredentialsLimitExceeded(tenantId, credentials))
.compose(tenant -> applyAuthIdTemplateForX509CertificateCredentials(tenantFuture.result(), credentials))
.compose(ok -> applyAuthIdTemplateForX509CertificateCredentials(tenantFuture.result(), credentials))
.compose(this::verifyAndEncodePasswords)
.compose(encodedCredentials -> processUpdateCredentials(
DeviceKey.from(tenantId, deviceId),
Expand Down

0 comments on commit 2c9c5e8

Please sign in to comment.