Make opts var optional for docker driver methods
This commit is contained in:
parent
627251a307
commit
67ea15126d
|
@ -209,13 +209,13 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
# @param[Array] opts - An array of flags used for listing networks
|
||||
def prune_network(opts)
|
||||
def prune_network(opts=nil)
|
||||
output = execute('docker', 'network', 'prune', '--force', opts)
|
||||
end
|
||||
|
||||
# @param[String] network - name of network to remove
|
||||
# @param[Array] opts - An array of flags used for listing networks
|
||||
def rm_network(networks, opts)
|
||||
def rm_network(networks, opts=nil)
|
||||
output = execute('docker', 'network', 'rm', network, opts)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue