Skip to content

Commit

Permalink
don't heartbeat if trigger_hist is null
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jan 14, 2008
1 parent fe31b32 commit e465fb9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -197,7 +197,7 @@ private void insertNodeSecurityUpdate(Node node) {
*/
public void insertHeartbeatEvent(Node node) {
Data data = createData(tablePrefix + "_node", " t.node_id = '" + node.getNodeId() + "'");
if (data != null) {
if (data != null && data.getAudit() != null) {
data.setChannelId(Constants.CHANNEL_CONFIG);
insertDataEvent(data, nodeService.findNodesToPushTo());
} else {
Expand Down

0 comments on commit e465fb9

Please sign in to comment.