Sha256: 3e1e4e57127f9dcdab8f26d9337194097e1e7f1b4c2b254a80281b8cbe71e703
Contents?: true
Size: 396 Bytes
Versions: 12
Compression:
Stored size: 396 Bytes
Contents
require "log4r" module VagrantPlugins module OVirtProvider module Action class IsCreated def initialize(app, env) @app = app @logger = Log4r::Logger.new("vagrant_ovirt4::action::is_created") end def call(env) env[:result] = env[:machine].state.id != :not_created @app.call(env) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems