Fix if statement from `=` to `==`

This commit is contained in:
Brian Cain 2019-03-04 10:28:05 -08:00
parent 4080f9e64d
commit 6c7c74be5a
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ module VagrantPlugins
# Splits the networking options to generate the proper CLI flags for docker
options.each do |opt, value|
opt = opt.to_s
if opt == "ip" || (opt == "type" && value = "dhcp") ||
if opt == "ip" || (opt == "type" && value == "dhcp") ||
opt == "protocol" || opt == "id"
# `docker network create` doesn't care about these options
next