kernel/v2: fix error where options could be not hash
This commit is contained in:
parent
8159f248a7
commit
75dcc828ad
|
@ -203,8 +203,7 @@ module VagrantPlugins
|
|||
#
|
||||
# @param [Symbol] type Type of network
|
||||
# @param [Hash] options Options for the network.
|
||||
def network(type, options=nil)
|
||||
options ||= {}
|
||||
def network(type, **options)
|
||||
options = options.dup
|
||||
options[:protocol] ||= "tcp"
|
||||
|
||||
|
|
Loading…
Reference in New Issue