mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
wip: Passing test but that's not enough
I'm setting `failed_up_message` but not using it anywhere.
This commit is contained in:
parent
9a3433673d
commit
090ece0d0b
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ module VagrantPlugins
|
|||
attr_accessor :guest
|
||||
attr_accessor :hostname
|
||||
attr_accessor :post_up_message
|
||||
attr_accessor :failed_up_message
|
||||
attr_accessor :usable_port_range
|
||||
attr_reader :provisioners
|
||||
attr_reader :disks
|
||||
|
|
@ -85,6 +86,7 @@ module VagrantPlugins
|
|||
@guest = UNSET_VALUE
|
||||
@hostname = UNSET_VALUE
|
||||
@post_up_message = UNSET_VALUE
|
||||
@failed_up_message = UNSET_VALUE
|
||||
@provisioners = []
|
||||
@disks = []
|
||||
@cloud_init_configs = []
|
||||
|
|
@ -543,6 +545,7 @@ module VagrantPlugins
|
|||
@hostname = nil if @hostname == UNSET_VALUE
|
||||
@hostname = @hostname.to_s if @hostname
|
||||
@post_up_message = "" if @post_up_message == UNSET_VALUE
|
||||
@failed_up_message = "" if @failed_up_message == UNSET_VALUE
|
||||
|
||||
if @usable_port_range == UNSET_VALUE
|
||||
@usable_port_range = (2200..2250)
|
||||
|
|
|
|||
Loading…
Reference in a new issue