mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Attach project logger to target on scrub
This commit is contained in:
parent
23983d30d4
commit
df42e88aab
1 changed files with 2 additions and 0 deletions
|
|
@ -763,6 +763,8 @@ func (p *Project) scrubTargets() (err error) {
|
|||
WithProject(p),
|
||||
WithTargetRef(t),
|
||||
); err == nil {
|
||||
// Attach our logger to the target so it can customize it
|
||||
target.logger = p.logger
|
||||
if err = target.Init(); err != nil {
|
||||
target = nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue