Repository: kafka Updated Branches: refs/heads/0.9.0 f44328743 -> 04a6491f4
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/04a6491f Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/04a6491f Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/04a6491f Branch: refs/heads/0.9.0 Commit: 04a6491f4970c74e23a8d1483097f8de87982911 Parents: f443287 Author: Piotr Szwed <[email protected]> Authored: Sun Jan 24 01:16:41 2016 -0800 Committer: Ewen Cheslack-Postava <[email protected]> Committed: Thu Jan 28 09:34:23 2016 -0800 ---------------------------------------------------------------------- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/04a6491f/Vagrantfile ---------------------------------------------------------------------- diff --git a/Vagrantfile b/Vagrantfile index caece17..7a1f83c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -62,12 +62,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.
