Log information if unsupported docker network option is provided

This commit is contained in:
Brian Cain 2019-02-28 15:24:48 -08:00
parent 4a0f1a0a33
commit c20de9044d
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ module VagrantPlugins
vals = opt.to_s.split("__")
if vals[0] == "docker" && vals.size == 3
cli_opts[vals[1].to_sym].concat(["--#{vals[2]}", value])
else
@logger.debug("Unsupported network option encountered: #{opt}. Ignoring...")
end
end
end