Skip to content

[cap/mount_options] Fix "mount_name" compatibility with Vagrant 2.2.15+#386

Merged
legal90 merged 1 commit intomasterfrom
fix-mount-name-cap
Apr 14, 2021
Merged

[cap/mount_options] Fix "mount_name" compatibility with Vagrant 2.2.15+#386
legal90 merged 1 commit intomasterfrom
fix-mount-name-cap

Conversation

@legal90
Copy link
Collaborator

@legal90 legal90 commented Apr 14, 2021

Fixes #384

Vagrant 2.2.15 includes hashicorp/vagrant#12184 which apparently changes the expected interface of mount_name synced folder capability. It seems that Vagrant maintainers didn't consider that there could be other plugins implementing this capability on their side :(

As the result, in order to keep the backward compatibility with older versions of Vagrant we have to do a dirty hack with mount_name implementation, assuming that it could be called with 2 or 3 positional arguments.

@legal90 legal90 force-pushed the fix-mount-name-cap branch from 7f0df0d to a7cffc2 Compare April 14, 2021 20:34
@legal90 legal90 merged commit 44ab663 into master Apr 14, 2021
@legal90 legal90 deleted the fix-mount-name-cap branch April 14, 2021 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin broken with Vagrant 2.2.15

1 participant