From 05d42a8d9727fdf12cb7a907d498d5756e9c1218 Mon Sep 17 00:00:00 2001 From: Katy Moe Date: Wed, 9 Sep 2020 16:34:39 +0100 Subject: [PATCH] use ReattachInfo type --- working_dir.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/working_dir.go b/working_dir.go index 279de3b..69ff2fe 100644 --- a/working_dir.go +++ b/working_dir.go @@ -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 } @@ -62,7 +62,7 @@ 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 }