module VagrantPlugins::Openstack::Cap::SnapshotList

Public Class Methods

snapshot_list(machine) click to toggle source

Returns a list of the snapshots that are taken on this machine.

@return [Array<String>]

# File lib/vagrant-openstack-provider/cap/snapshot_list.rb, line 8
def self.snapshot_list(machine)
  env = machine.action(:snapshot_list, lock: false)
  env[:machine_snapshot_list]
end