Rename LXC::Actions to LXC::Action
This commit is contained in:
parent
b8e5a9fa1c
commit
849e9c73d7
2 changed files with 3 additions and 3 deletions
|
@ -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.
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue