Trim trailing whitespace

This commit is contained in:
a1346054
2022-08-08 21:11:25 +00:00
parent b87652701d
commit af77b859e3
11 changed files with 17 additions and 18 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -201,7 +201,7 @@ module VagrantPlugins
class SnapshotListError < VagrantLibvirtError
error_key(:snapshot_list_error)
end
class SnapshotCreationError < VagrantLibvirtError
error_key(:snapshot_creation_error)
end