Remove message for now

This commit is contained in:
Seth Vargo 2015-02-03 21:06:51 -05:00
parent 82b24e9a8f
commit 257ff57772
2 changed files with 0 additions and 10 deletions

View File

@ -9,17 +9,8 @@ module VagrantPlugins
# @todo support multiple strategies if requested by the community
def execute
options = {}
opts = OptionParser.new do |o|
o.banner = "Usage: vagrant push [strategy] [options]"
o.separator ""
o.separator "Options:"
o.separator ""
o.on("-m", "--message BODY", "Text to identify this push") do |m|
options[:message] = m
end
end
# Parse the options

View File

@ -30,7 +30,6 @@ module VagrantPlugins
cmd += metadata.map { |k,v| ["-metadata", "#{k}=#{v}"] }
cmd += ["-address", config.address] if config.address
cmd += ["-token", config.token] if config.token
cmd += ["-message", message] if message
cmd << config.app
cmd << File.expand_path(config.dir, env.root_path)
Vagrant::Util::SafeExec.exec(uploader, *cmd.flatten)