From d8e12c8de9d83a385d63cc0ac9dbb76a81863e2c Mon Sep 17 00:00:00 2001 From: Ankur Date: Wed, 15 Aug 2018 13:38:46 -0700 Subject: [PATCH] [BEAM-5155] Check sdk absolute path before installing We should check the absolute path for availability of sdk --- sdks/python/container/piputil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/python/container/piputil.go b/sdks/python/container/piputil.go index 1c0faa39c917c..01c289ac2ae78 100644 --- a/sdks/python/container/piputil.go +++ b/sdks/python/container/piputil.go @@ -160,7 +160,7 @@ func installSdk(files []string, workDir string, sdkSrcFile string, acceptableWhl log.Printf("Could not install Apache Beam SDK from a wheel: %v, proceeding to install SDK from source tarball.", err) } if !required { - _, err := os.Stat(sdkSrcFile) + _, err := os.Stat(filepath.Join(workDir, sdkSrcFile)) if os.IsNotExist(err) { return nil }