Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Commit

Permalink
use ReattachInfo type
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoe committed Sep 9, 2020
1 parent 8e5d11d commit 5e14a79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions working_dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type WorkingDir struct {

// reattachInfo stores the gRPC socket info required for Terraform's
// plugin reattach functionality
reattachInfo string
reattachInfo tfexec.ReattachInfo

env map[string]string
}
Expand All @@ -62,12 +62,12 @@ func (wd *WorkingDir) Unsetenv(envVar string) {
delete(wd.env, envVar)
}

func (wd *WorkingDir) SetReattachInfo(reattachInfo string) {
func (wd *WorkingDir) SetReattachInfo(reattachInfo tfexec.ReattachInfo) {
wd.reattachInfo = reattachInfo
}

func (wd *WorkingDir) UnsetReattachInfo() {
wd.reattachInfo = ""
wd.reattachInfo = nil
}

// GetHelper returns the Helper set on the WorkingDir.
Expand Down

0 comments on commit 5e14a79

Please sign in to comment.