Fixed elasticsearch for 138
Merge pull request #80 from cloudfoundry/fix-elasticsearch-for-138

Fixed elasticsearch for 138