Rename LXC::Actions to LXC::Action

This commit is contained in:
Fabio Rehm 2013-03-02 03:57:03 -03:00
parent b8e5a9fa1c
commit 849e9c73d7
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
module Vagrant module Vagrant
module LXC module LXC
module Actions module Action
# This action is responsible for reloading the machine, which # This action is responsible for reloading the machine, which
# brings it down, sucks in new configuration, and brings the # brings it down, sucks in new configuration, and brings the
# machine back up with the new configuration. # machine back up with the new configuration.

View file

@ -1,4 +1,4 @@
require "vagrant-lxc/actions" require "vagrant-lxc/action"
require "vagrant-lxc/container" require "vagrant-lxc/container"
require "vagrant-lxc/machine_state" require "vagrant-lxc/machine_state"
@ -41,7 +41,7 @@ module Vagrant
# given action. # given action.
action_method = "action_#{name}" action_method = "action_#{name}"
# TODO: Rename to singular # TODO: Rename to singular
return LXC::Actions.send(action_method) if LXC::Actions.respond_to?(action_method) return LXC::Action.send(action_method) if LXC::Action.respond_to?(action_method)
nil nil
end end