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/02 22:57:37 UTC
git commit: SLIDER-111 Upper case letters should be allowed in
cluster names
Repository: incubator-slider
Updated Branches:
refs/heads/develop 703597261 -> cfd141f9e
SLIDER-111 Upper case letters should be allowed 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/cfd141f9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/cfd141f9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/cfd141f9
Branch: refs/heads/develop
Commit: cfd141f9e31ee69c13e9df6de64cf06908d9b25f
Parents: 7035972
Author: tedyu <yu...@gmail.com>
Authored: Mon Jun 2 13:57:15 2014 -0700
Committer: tedyu <yu...@gmail.com>
Committed: Mon Jun 2 13:57:15 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/cfd141f9/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 8dd3eb6..8756ebe 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-z][a-z0-9_-]*");
+ = new PatternValidator("[a-zA-Z][a-zA-Z0-9_-]*");
/**
* Normalize a cluster name then verify that it is valid