mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
When project is provided set ref into data
This commit is contained in:
parent
2c756b3c07
commit
df0a4342a6
1 changed files with 1 additions and 0 deletions
|
|
@ -596,6 +596,7 @@ type TargetOption func(*Target) error
|
|||
func WithProject(p *Project) TargetOption {
|
||||
return func(t *Target) (err error) {
|
||||
t.project = p
|
||||
t.target.Project = p.Ref().(*vagrant_plugin_sdk.Ref_Project)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue