Add note about removing prefix workaround

This commit is contained in:
Brian Cain 2019-10-09 16:07:21 -07:00
parent 8458a21657
commit e6d47329ee
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 8 additions and 0 deletions

View File

@ -153,6 +153,10 @@ module VagrantPlugins
# Generate configuration for public network
#
# TODO: When the Vagrant installer upgrades to Ruby 2.5.x,
# remove all instances of the roundabout way of determining a prefix
# and instead just use the built-in `.prefix` method
#
# @param [Hash] root_options Root networking options
# @param [Hash] net_options Docker scoped networking options
# @param [Hash] env Local call env
@ -259,6 +263,10 @@ module VagrantPlugins
# Request the IP range allowed for use by docker when creating a new
# public network
#
# TODO: When the Vagrant installer upgrades to Ruby 2.5.x,
# remove all instances of the roundabout way of determining a prefix
# and instead just use the built-in `.prefix` method
#
# @param [Hash] network_options Docker scoped networking options
# @param [Socket::Ifaddr] interface The bridge interface used
# @param [Hash] env Local call env