From a7008ef5ec2fb44e8231e77d729e655d0b862ab2 Mon Sep 17 00:00:00 2001 From: Jon Topper Date: Fri, 4 Mar 2016 17:35:54 +0000 Subject: [PATCH] Fix up style nit. --- plugins/commands/snapshot/command/push_shared.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/commands/snapshot/command/push_shared.rb b/plugins/commands/snapshot/command/push_shared.rb index d9691da34..8a6368551 100644 --- a/plugins/commands/snapshot/command/push_shared.rb +++ b/plugins/commands/snapshot/command/push_shared.rb @@ -12,7 +12,7 @@ module VagrantPlugins end vm.env.lock("machine-snapshot-stack") do - m.call(vm,opts) + m.call(vm, opts) end end @@ -20,14 +20,14 @@ module VagrantPlugins 0 end - def push(machine,opts={}) + def push(machine, opts={}) snapshot_name = "push_#{Time.now.to_i}_#{rand(10000)}" # Save the snapshot. This will raise an exception if it fails. machine.action(:snapshot_save, snapshot_name: snapshot_name) end - def pop(machine,opts={}) + def pop(machine, opts={}) # By reverse sorting, we should be able to find the first # pushed snapshot. name = nil