Skip to content

Commit 7fbe80a

Browse files
author
Lorenz Kästle
committed
Remove printf debugging statements
1 parent 47413ab commit 7fbe80a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/client/client.go

-3
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ func (c *Client) SearchTickets(ctx context.Context, hostname, service string) ([
5353
search.Set("order_by", "desc")
5454
u.RawQuery = search.Encode()
5555

56-
// fmt.Printf("Raw Search query: %s\n", u.RawQuery)
57-
5856
req, err := http.NewRequestWithContext(ctx, http.MethodGet, u.String(), nil)
5957

6058
if err != nil {
@@ -81,7 +79,6 @@ func (c *Client) SearchTickets(ctx context.Context, hostname, service string) ([
8179
if err != nil {
8280
return nil, fmt.Errorf("unable to read search results: %w", err)
8381
}
84-
// fmt.Println("received answer: " + buf.String() + "\n")
8582

8683
if buf.String() == "[]" {
8784
tickets := make([]zammad.Ticket, 0)

0 commit comments

Comments
 (0)