Skip to content

Commit

Permalink
0004026: Registration server gets "Removing identity because
Browse files Browse the repository at this point in the history
registration is required"
  • Loading branch information
erilong committed Jun 26, 2019
1 parent 977bbf7 commit afa7f53
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -221,7 +221,7 @@ private void pushToNode(Node remote, RemoteNodeStatus status) {
} catch (Exception ex) {
processInfo.setStatus(ProcessStatus.ERROR);
fireOffline(ex, remote, status);
if (isRegistrationRequired(ex)) {
if (isRegistrationRequired(ex) && !parameterService.isRegistrationServer()) {
log.info("Removing identity because registration is required");
nodeService.deleteIdentity();
nodeService.findIdentity(false);
Expand Down

0 comments on commit afa7f53

Please sign in to comment.