projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In the config loader, we require the cluster id to be specified in
[arvados.git]
/
lib
/
config
/
load.go
diff --git
a/lib/config/load.go
b/lib/config/load.go
index dba799787045d732e3a07cb65859dc7bfa096c6d..a547d1406940960ac9fd88564e0e7c6ee3ce63be 100644
(file)
--- a/
lib/config/load.go
+++ b/
lib/config/load.go
@@
-362,7
+362,7
@@
func (ldr *Loader) checkClusterID(label, clusterID string, emptyStringOk bool) e
if emptyStringOk && clusterID == "" {
return nil
} else if !acceptableClusterIDRe.MatchString(clusterID) {
if emptyStringOk && clusterID == "" {
return nil
} else if !acceptableClusterIDRe.MatchString(clusterID) {
- return fmt.Errorf("%s: cluster ID should be 5 alphanumeric characters", label)
+ return fmt.Errorf("%s: cluster ID should be 5
lowercase
alphanumeric characters", label)
}
return nil
}
}
return nil
}