flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhue...@apache.org
Subject [3/4] flink git commit: [hotfix] Fix duplicate "ms" time unit in RestartStrategy.
Date Thu, 10 Nov 2016 14:34:57 GMT
[hotfix] Fix duplicate "ms" time unit in RestartStrategy.

For example: "Restart with fixed delay (10000 ms ms)."
-> org.apache.flink.api.common.time.Time already prints the time unit.

This closes #2778.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/22958fba
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/22958fba
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/22958fba

Branch: refs/heads/master
Commit: 22958fbad06ae04bce695f84709d47057d7d6832
Parents: 6516938
Author: Nico Kruber <nico@data-artisans.com>
Authored: Wed Nov 9 17:54:43 2016 +0100
Committer: Fabian Hueske <fhueske@apache.org>
Committed: Thu Nov 10 15:34:17 2016 +0100

----------------------------------------------------------------------
 .../apache/flink/api/common/restartstrategy/RestartStrategies.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/22958fba/flink-core/src/main/java/org/apache/flink/api/common/restartstrategy/RestartStrategies.java
----------------------------------------------------------------------
diff --git a/flink-core/src/main/java/org/apache/flink/api/common/restartstrategy/RestartStrategies.java
b/flink-core/src/main/java/org/apache/flink/api/common/restartstrategy/RestartStrategies.java
index 7073c2c..fc24fe7 100644
--- a/flink-core/src/main/java/org/apache/flink/api/common/restartstrategy/RestartStrategies.java
+++ b/flink-core/src/main/java/org/apache/flink/api/common/restartstrategy/RestartStrategies.java
@@ -141,7 +141,7 @@ public class RestartStrategies {
 
 		@Override
 		public String getDescription() {
-			return "Restart with fixed delay (" + delayBetweenAttemptsInterval + " ms). #"
+			return "Restart with fixed delay (" + delayBetweenAttemptsInterval + "). #"
 				+ restartAttempts + " restart attempts.";
 		}
 	}


Mime
View raw message