From e6d47329eebda56babe96c1f7d4734eb8299426d Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Wed, 9 Oct 2019 16:07:21 -0700 Subject: [PATCH] Add note about removing prefix workaround --- plugins/providers/docker/action/prepare_networks.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/providers/docker/action/prepare_networks.rb b/plugins/providers/docker/action/prepare_networks.rb index a61aa82e9..036651d46 100644 --- a/plugins/providers/docker/action/prepare_networks.rb +++ b/plugins/providers/docker/action/prepare_networks.rb @@ -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