Skip to content

Commit 641529b

Browse files
authored
Merge pull request #33 from gary-beautypie/main
Debug
2 parents 429592d + 7100ced commit 641529b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/dbt_cloud/job.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package dbt_cloud
33
import (
44
"encoding/json"
55
"fmt"
6+
"log"
67
"net/http"
78
"strings"
89
)
@@ -164,8 +165,8 @@ func (c *Client) UpdateJob(jobId string, job Job) (*Job, error) {
164165
}
165166

166167
req, err := http.NewRequest("POST", fmt.Sprintf("%s/jobs/%s/", c.AccountURL, jobId), strings.NewReader(string(jobData)))
167-
fmt.Printf(fmt.Sprintf("%s/jobs/%s/", c.AccountURL, jobId))
168-
fmt.Printf(string(jobData))
168+
log.Printf(fmt.Sprintf("%s/jobs/%s/", c.AccountURL, jobId))
169+
log.Printf(string(jobData))
169170
if err != nil {
170171
return nil, err
171172
}

0 commit comments

Comments
 (0)