Repository: kafka Updated Branches: refs/heads/trunk d00cf520f -> c8b60b634
MINOR: Fixed undefined method `update_guest' Author: Piotr Szwed <[email protected]> Reviewers: Ewen Cheslack-Postava <[email protected]> Closes #802 from szwed/trunk Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/c8b60b63 Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/c8b60b63 Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/c8b60b63 Branch: refs/heads/trunk Commit: c8b60b6344e659b805ea04fc976abcae2bf9fcf8 Parents: d00cf52 Author: Piotr Szwed <[email protected]> Authored: Sun Jan 24 01:16:41 2016 -0800 Committer: Ewen Cheslack-Postava <[email protected]> Committed: Sun Jan 24 01:16:41 2016 -0800 ---------------------------------------------------------------------- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/c8b60b63/Vagrantfile ---------------------------------------------------------------------- diff --git a/Vagrantfile b/Vagrantfile index f95108e..8695ab8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -63,12 +63,12 @@ end # stopped, skipping the update in that case since it's impossible to update # nodes in that state. Object.const_get("VagrantPlugins").const_get("HostManager").const_get("HostsFile").class_eval do - alias_method :old_update_guest, :update_guest def update_guest(machine) state_id = machine.state.id return if state_id == :not_created || state_id == :stopped old_update_guest(machine) end + alias_method :old_update_guest, :update_guest end # TODO(ksweeney): RAM requirements are not empirical and can probably be significantly lowered.
