mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Fix forward_ports with ruby 3.0 (#1242)
Fedora 24 has moved to ruby 3.0, which triggers an exception in vagrant-libvirt when installing it with vagrant provided by the distro. This is caused by a chance in ruby 3.0 that can be applied to earlier versions without any down sides: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
This commit is contained in:
parent
1c82be1357
commit
28d475ca29
1
.github/workflows/unit-tests.yml
vendored
1
.github/workflows/unit-tests.yml
vendored
@ -39,6 +39,7 @@ jobs:
|
||||
- ruby: 2.6.6
|
||||
vagrant: v2.2.14
|
||||
allow_fail: false
|
||||
# TODO: We should add ruby 3.0, once vagrant can be tested with it.
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -44,7 +44,7 @@ module VagrantPlugins
|
||||
|
||||
@env[:ui].info(I18n.t(
|
||||
'vagrant.actions.vm.forward_ports.forwarding_entry',
|
||||
message_attributes
|
||||
**message_attributes
|
||||
))
|
||||
|
||||
if fp[:protocol] == 'udp'
|
||||
|
Loading…
Reference in New Issue
Block a user