Skip to content

Commit

Permalink
optimize: seata server register eureka instance id (apache#1790)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbxyyx authored and zjinlei committed Oct 19, 2019
1 parent 36cbe51 commit b78f425
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private void clean() {
}

private String getInstanceId() {
return String.format("%s:%s:%d", instanceConfig.getAppname(), instanceConfig.getIpAddress(),
return String.format("%s:%s:%d", instanceConfig.getIpAddress(), instanceConfig.getAppname(),
instanceConfig.getNonSecurePort());
}

Expand Down

0 comments on commit b78f425

Please sign in to comment.