mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Trim trailing whitespace
This commit is contained in:
@@ -411,7 +411,7 @@ module VagrantPlugins
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
# This is the action that is primarily responsible for restoring a snapshot
|
||||
def self.action_snapshot_restore
|
||||
Vagrant::Action::Builder.new.tap do |b|
|
||||
@@ -420,7 +420,7 @@ module VagrantPlugins
|
||||
unless env[:result]
|
||||
raise Vagrant::Errors::VMNotCreatedError
|
||||
end
|
||||
|
||||
|
||||
b2.use SnapshotRestore
|
||||
end
|
||||
end
|
||||
@@ -434,7 +434,7 @@ module VagrantPlugins
|
||||
unless env[:result]
|
||||
raise Vagrant::Errors::VMNotCreatedError
|
||||
end
|
||||
|
||||
|
||||
b2.use SnapshotSave
|
||||
end
|
||||
end
|
||||
|
||||
@@ -321,7 +321,7 @@ module VagrantPlugins
|
||||
|
||||
@network_ipv6_address = @interface_network[:ipv6_address]
|
||||
@network_ipv6_prefix = @interface_network[:ipv6_prefix]
|
||||
|
||||
|
||||
@network_bridge_stp = @options[:bridge_stp].nil? || @options[:bridge_stp] ? 'on' : 'off'
|
||||
@network_bridge_delay = @options[:bridge_delay] ? @options[:bridge_delay] : 0
|
||||
|
||||
|
||||
@@ -1088,7 +1088,7 @@ module VagrantPlugins
|
||||
result.cdroms = c
|
||||
|
||||
result.disk_driver_opts = disk_driver_opts.merge(other.disk_driver_opts)
|
||||
|
||||
|
||||
c = clock_timers.dup
|
||||
c += other.clock_timers
|
||||
result.clock_timers = c
|
||||
|
||||
@@ -201,7 +201,7 @@ module VagrantPlugins
|
||||
class SnapshotListError < VagrantLibvirtError
|
||||
error_key(:snapshot_list_error)
|
||||
end
|
||||
|
||||
|
||||
class SnapshotCreationError < VagrantLibvirtError
|
||||
error_key(:snapshot_creation_error)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user