From e1bba3a0d5547a0c51bc45cf12644dcddac05748 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 10 Nov 2019 14:13:20 +0000 Subject: [PATCH] Minor change to log output --- customerdb/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customerdb/client.go b/customerdb/client.go index cf62966..cae37fa 100644 --- a/customerdb/client.go +++ b/customerdb/client.go @@ -89,7 +89,7 @@ func (s *CustomerDBService) PutProduct(p types.Product) (err error) { if err == nil { if (resp.StatusCode != http.StatusCreated) && (resp.StatusCode != http.StatusAccepted) { - l.Warning.Printf("Unexpected response Creating new Reseller record - Response Status: %v\n", resp.Status) + l.Warning.Printf("Unexpected response Creating new Product record - Response Status: %v\n", resp.Status) body, _ := ioutil.ReadAll(resp.Body) l.Debug.Printf("Response Body: %v\n", string(body)) err = errors.New("Unexpected response posting product to customerdb")