You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by te...@apache.org on 2014/06/03 00:00:13 UTC
git commit: SLIDER-111 Revert: some tests expect non-capital letters
in cluster names
Repository: incubator-slider
Updated Branches:
refs/heads/develop cfd141f9e -> 8f0cec886
SLIDER-111 Revert: some tests expect non-capital letters in cluster names
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/8f0cec88
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/8f0cec88
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/8f0cec88
Branch: refs/heads/develop
Commit: 8f0cec886028dec747cdf71311ae546f17529d87
Parents: cfd141f
Author: tedyu <yu...@gmail.com>
Authored: Mon Jun 2 15:00:16 2014 -0700
Committer: tedyu <yu...@gmail.com>
Committed: Mon Jun 2 15:00:16 2014 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/slider/common/tools/SliderUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/8f0cec88/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java b/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java
index 8756ebe..8dd3eb6 100644
--- a/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java
+++ b/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java
@@ -303,7 +303,7 @@ public final class SliderUtils {
}
private static final PatternValidator clusternamePattern
- = new PatternValidator("[a-zA-Z][a-zA-Z0-9_-]*");
+ = new PatternValidator("[a-z][a-z0-9_-]*");
/**
* Normalize a cluster name then verify that it is valid