This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vagrant --debug box update > debug.output 2>&1 | |
Ignoring ffi-1.9.18 because its extensions are not built. Try: gem pristine ffi --version 1.9.18 | |
Ignoring unf_ext-0.0.7.4 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.4 | |
INFO global: Vagrant version: 2.0.2 | |
INFO global: Ruby version: 2.3.1 | |
INFO global: RubyGems version: 2.5.2.1 | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-2.0.2/bin/vagrant" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override def query(q: String) = { | |
val responses = clients.map {client => client.query(q)} | |
val matches = responses.map {response => JSON.parseFull(response.get().getContent().toString("UTF-8")) match { | |
case Some(obj: Map[String, List[Match]]) => obj("results") | |
}} | |
querySuccessResponse(matches) | |
} |