Sha256: df266c9ae4329ba03c28c2ab3684ef6341bad9bc0cb52373cf2419e508b70a96
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 Bytes
Contents
module Uricp::Strategy class RbdSweeper include Uricp::Strategy::Common def appropriate? return proposal if options['rbd_snapshot'] && sequence_complete? debug "#{self.class.name}: not appropriate" false end def command "rbd snap rm --id #{rbd_id} '#{options['rbd_snapshot']}';" end def proposal @proposed_options = options.dup @proposed_options.delete('rbd_snapshot') self end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uricp-0.0.18 | lib/uricp/strategy/rbd_sweeper.rb |
uricp-0.0.17 | lib/uricp/strategy/rbd_sweeper.rb |
uricp-0.0.16 | lib/uricp/strategy/rbd_sweeper.rb |