When project is provided set ref into data

This commit is contained in:
Chris Roberts 2022-07-07 12:10:07 -07:00
parent 2c756b3c07
commit df0a4342a6

View File

@ -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
}
}