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

kittohoward pushed a commit to branch statusRPC
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-dta.git

commit 4f77b13bbda7903185b5260ce6ab86ce3b231a2a
Author: howardkitto <[email protected]>
AuthorDate: Tue Sep 17 09:31:17 2019 +0100

    status client endpoint
---
 pkg/api/client.go | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pkg/api/client.go b/pkg/api/client.go
index 91c8f31..c3510a3 100644
--- a/pkg/api/client.go
+++ b/pkg/api/client.go
@@ -22,7 +22,6 @@ package api
 
 import (
        "context"
-       "fmt"
        "net/http"
 
        "github.com/apache/incubator-milagro-dta/libs/logger"
@@ -103,7 +102,6 @@ func (c MilagroClientService) FulfillOrderSecret(req 
*FulfillOrderSecretRequest)
 
 //Status - Allows a client to see the status of the server that it is 
connecting too
 func (c MilagroClientService) Status(token string) (*StatusResponse, error) {
-       fmt.Printf("\njwtToken: %v\n", token)
        endpoint := c.endpoints["Status"]
        ctx := context.Background()
        ctx = transport.SetJWTAuthHeader(ctx, token)
@@ -113,6 +111,5 @@ func (c MilagroClientService) Status(token string) 
(*StatusResponse, error) {
                return nil, err
        }
        r := s.(*StatusResponse)
-       fmt.Println("got status request")
        return r, nil
 }

Reply via email to