23 lines
568 B
Ruby
23 lines
568 B
Ruby
#-------------------------------------------------------------------------
|
|
# Copyright (c) Microsoft Open Technologies, Inc.
|
|
# All Rights Reserved. Licensed under the MIT License.
|
|
#--------------------------------------------------------------------------
|
|
|
|
require "log4r"
|
|
module VagrantPlugins
|
|
module HyperV
|
|
module Action
|
|
class MessageAlreadyCreated
|
|
def initialize(app, env)
|
|
@app = app
|
|
end
|
|
|
|
def call(env)
|
|
env[:ui].info("Machine already created")
|
|
@app.call(env)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|