diff --git a/lib/java_buildpack/container/tomcat/tomcat_geode_store.rb b/lib/java_buildpack/container/tomcat/tomcat_geode_store.rb index 5973f26fe3..98dd44bb3b 100644 --- a/lib/java_buildpack/container/tomcat/tomcat_geode_store.rb +++ b/lib/java_buildpack/container/tomcat/tomcat_geode_store.rb @@ -136,8 +136,7 @@ def create_cache_client_xml def detect_geode_tomcat_version geode_tomcat_version = nil - - geode_modules_tomcat_pattern = /ge.*-modules-tomcat(?[0-9]*).*.jar/.freeze + geode_modules_tomcat_pattern = /ge.*-tomcat(?[0-9]*).*.jar/.freeze Dir.foreach(@droplet.sandbox + 'lib') do |file| if geode_modules_tomcat_pattern.match(file) unless geode_tomcat_version.nil?