Skip to content

Commit

Permalink
service logs to debbug
Browse files Browse the repository at this point in the history
  • Loading branch information
catttam committed Jul 24, 2023
1 parent 51e8d76 commit 8fe6b89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ func ApplyService(svc *types.Service, c *cluster.Cluster, method string) error {
if err != nil {
return cluster.ErrMakingRequest
}

fmt.Printf("Making http request with client timeout: \"%d\" ", c.GetClient().Timeout)
res, err := c.GetClient().Do(req)
fmt.Println("Response: ", res)
if err != nil {
return cluster.ErrSendingRequest
}
Expand Down

0 comments on commit 8fe6b89

Please sign in to comment.