mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
kernel/v2: fix error where options could be not hash
This commit is contained in:
parent
8159f248a7
commit
75dcc828ad
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue