use of org.keycloak.operator.v2alpha1.crds.KeycloakStatus in project keycloak by keycloak.
the class KeycloakController method updateErrorStatus.
@Override
public Optional<Keycloak> updateErrorStatus(Keycloak kc, RetryInfo retryInfo, RuntimeException e) {
Log.error("--- Error reconciling", e);
KeycloakStatus status = new KeycloakStatusBuilder().addErrorMessage("Error performing operations:\n" + e.getMessage()).build();
kc.setStatus(status);
return Optional.of(kc);
}
Aggregations