When project is provided set ref into data
This commit is contained in:
parent
2c756b3c07
commit
df0a4342a6
@ -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…
x
Reference in New Issue
Block a user