This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new d082d1d  THRIFT-5052: Make the Go tutorial executable to the end 
Client: Go Patch: Kengo Seki
d082d1d is described below

commit d082d1d61b024e441df21b8b46a6261d7f955405
Author: Kengo Seki <[email protected]>
AuthorDate: Sun Dec 29 15:11:42 2019 +0900

    THRIFT-5052: Make the Go tutorial executable to the end
    Client: Go
    Patch: Kengo Seki
    
    This closes #1969
---
 tutorial/go/src/client.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tutorial/go/src/client.go b/tutorial/go/src/client.go
index e3ebe00..319ca3e 100644
--- a/tutorial/go/src/client.go
+++ b/tutorial/go/src/client.go
@@ -49,7 +49,6 @@ func handleClient(client *tutorial.CalculatorClient) (err 
error) {
                default:
                        fmt.Println("Error during operation:", err)
                }
-               return err
        } else {
                fmt.Println("Whoa we can divide by 0 with new value:", quotient)
        }

Reply via email to