Skip to content

Commit

Permalink
fix: line count
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic committed Jan 17, 2023
1 parent 45c67d5 commit 65edf07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/vagrant-zones/action/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ def call(env)
Dir.mkdir(tmp_dir)
datasetpath = "#{@machine.provider_config.boot['array']}/#{@machine.provider_config.boot['dataset']}/#{name}"
t = Time.new
d = '-'
c = ':'
datetime = %(#{t.year}#{d}#{t.month}#{d}#{t.day}#{d}#{t.hour}#{c}#{t.min}#{c}#{t.sec})
datetime = %(#{t.year}-#{t.month}-#{t.day}-#{t.hour}#{c}#{t.min}#{c}#{t.sec})
snapshot_create(datasetpath, datetime, env[:ui], @machine.provider_config)
snapshot_send(datasetpath, "#{tmp_dir}/box.zss", datetime, env[:ui], @machine.provider_config)
## snapshot_delete(datasetpath, env[:ui], datetime)
Expand Down

0 comments on commit 65edf07

Please sign in to comment.