Skip to content

Commit

Permalink
rename field
Browse files Browse the repository at this point in the history
  • Loading branch information
kuangxiang20240501 committed Nov 14, 2024
1 parent 77f166e commit 232e49f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ public class InstanceHeartbeatEntity extends AbstractEntity {
private String appVersion;

@Column(name = "start_up_at", nullable = true, unique = false)
private ZonedDateTime startUpTAt;
private ZonedDateTime startUpAt;
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private InstanceHeartbeatEntity builInstanceHeartbeatEntity() {
public void onPlatformBootUp(Object event) {
log.info("Application started up, report start up event");
InstanceHeartbeatEntity instanceHeartbeatEntity = builInstanceHeartbeatEntity();
instanceHeartbeatEntity.setStartUpTAt(ZonedDateTime.now());
instanceHeartbeatEntity.setStartUpAt(ZonedDateTime.now());
heartbeatRepository.save(instanceHeartbeatEntity);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void runIt() {
heartbeat.setRole(entity.getRole());
heartbeat.setAppVersion(entity.getAppVersion());
heartbeat.setUpdatedAt(entity.getUpdatedAt());
heartbeat.setStartUpAt(entity.getStartUpTAt());
heartbeat.setStartUpAt(entity.getStartUpAt());
return heartbeat;
})
.toList();
Expand Down

0 comments on commit 232e49f

Please sign in to comment.