Skip to content

Commit

Permalink
[BEAM-5155] Check sdk absolute path before installing
Browse files Browse the repository at this point in the history
  • Loading branch information
herohde committed Aug 17, 2018
2 parents d44a54d + d8e12c8 commit 350ccd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/container/piputil.go
Expand Up @@ -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
}
Expand Down

0 comments on commit 350ccd9

Please sign in to comment.