Skip to content
Snippets Groups Projects
Commit 36be0478 authored by Andy Yates's avatar Andy Yates
Browse files

[ENSCORESW-767]. Made the number in ens-staging optional so we will pick up on...

[ENSCORESW-767]. Made the number in ens-staging optional so we will pick up on the ens-staging alias
parent 6e559aec
No related branches found
No related tags found
No related merge requests found
......@@ -437,7 +437,7 @@ while ( my $line = $in->getline() ) {
$failed = 1;
}
if(! $failed && $source_server =~ /^ens-staging\d+$/ && $opt_optimize) {
if(! $failed && $source_server =~ /^ens-staging\d?$/ && $opt_optimize) {
my $tmpl = q{line %d: Source server '%s' is an ens-staging machine. Do not optimize on this server. Rerun with -noopt};
warn(sprintf($tmpl, $lineno, $source_server));
$failed = 1;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment