You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/04/02 09:01:20 UTC

[GitHub] [flink] azagrebin commented on a change in pull request #8048: [FLINK-12009] Fix wrong check message about heartbeat interval for HeartbeatServices

azagrebin commented on a change in pull request #8048: [FLINK-12009] Fix wrong check message about heartbeat interval for HeartbeatServices
URL: https://github.com/apache/flink/pull/8048#discussion_r271199140
 
 

 ##########
 File path: flink-runtime/src/main/java/org/apache/flink/runtime/heartbeat/HeartbeatServices.java
 ##########
 @@ -40,7 +40,7 @@
 
 	public HeartbeatServices(long heartbeatInterval, long heartbeatTimeout) {
 		Preconditions.checkArgument(0L < heartbeatInterval, "The heartbeat interval must be larger than 0.");
-		Preconditions.checkArgument(heartbeatInterval <= heartbeatTimeout, "The heartbeat timeout should be larger or equal than the heartbeat timeout.");
+		Preconditions.checkArgument(heartbeatInterval <= heartbeatTimeout, "The heartbeat interval should be larger or equal than the heartbeat timeout.");
 
 Review comment:
   From the actual comparison, it looks like the second `timeout` should be changed to `interval` at the end of message.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services