avoid clashes between Environment class methods

Fixes #10860
This commit is contained in:
Joao Duarte 2019-06-14 17:49:25 +01:00 committed by João Duarte
parent dfb90fff16
commit 7468ed058f
5 changed files with 15 additions and 11 deletions

View file

@ -42,7 +42,7 @@ module LogStash
!File.exists?(File.join(LogStash::Environment::LOGSTASH_HOME, "x-pack"))
end
def windows?
def win_platform?
::Gem.win_platform?
end