This is an automated email from the ASF dual-hosted git repository.
chamikara pushed a commit to branch transform_service_test_suite
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/transform_service_test_suite
by this push:
new f790160a705 updates
f790160a705 is described below
commit f790160a7058e0cb215482bb27836f6f2fa499f1
Author: Chamikara Jayalath <[email protected]>
AuthorDate: Fri Feb 16 16:55:50 2024 -0800
updates
---
sdks/python/expansion-service-container/boot.go | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/sdks/python/expansion-service-container/boot.go
b/sdks/python/expansion-service-container/boot.go
index 5f2bd617580..abe5f50ee89 100644
--- a/sdks/python/expansion-service-container/boot.go
+++ b/sdks/python/expansion-service-container/boot.go
@@ -148,16 +148,15 @@ func launchExpansionServiceProcess() error {
log.Printf("****** xyz123 executing ls -al:")
- if err := execx.Execute("/bin/ls", "-al"); err != nil {
- log.Printf("could not execute the ls command: %s", err)
+ if err := execx.Execute("/usr/bin/ls", "-al"); err != nil {
+ return fmt.Errorf("Could not execute /usr/bin/ls -al: %s", err)
}
log.Printf("****** xyz123 executing ls -al /:")
- if err := execx.Execute("/bin/ls", "-al", "/"); err != nil {
- log.Printf("could not execute the ls command: %s", err)
+ if err := execx.Execute("/usr/bin/ls", "-al", "/"); err != nil {
+ return fmt.Errorf("Could not execute /usr/bin/ls -al /: %s",
err)
}
-
if *requirements_file != "" {
log.Printf("Received the requirements file %v",
*requirements_file)
updatedRequirementsFileName, err :=
getUpdatedRequirementsFile(*requirements_file, *dependencies_dir)