Skip to content

Commit

Permalink
fix patrick logs path (#62)
Browse files Browse the repository at this point in the history
* fix patrick logs path

* upgrade go-interfaces
  • Loading branch information
tafseer-khan authored Aug 18, 2023
1 parent d32b46c commit 8f8567b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clients/http/patrick/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (c *Client) Job(jid string) (job *patrickIface.Job, err error) {

func (c *Client) LogFile(jobId, resourceId string) (log io.ReadCloser, err error) {
method := http.MethodGet
path := "/logs/" + jobId + "/" + resourceId
path := "/logs" + "/" + resourceId

req, err := http.NewRequestWithContext(c.http.Context(), method, c.http.Url()+path, nil)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ require (
github.com/taubyte/cli-common v0.1.1
github.com/taubyte/config-compiler v0.4.6
github.com/taubyte/domain-validation v1.0.1
github.com/taubyte/go-interfaces v0.2.12
github.com/taubyte/go-interfaces v0.2.13
github.com/taubyte/go-project-schema v0.9.3
github.com/taubyte/go-sdk v0.3.9
github.com/taubyte/go-sdk-smartops v0.1.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -885,8 +885,8 @@ github.com/taubyte/config-compiler v0.4.6 h1:9s3xn955imE7gAyVFpcsBEkowhCir78b1HP
github.com/taubyte/config-compiler v0.4.6/go.mod h1:gaohk1BSknIudo16QSgeQqVWVGLyusPPdLn+wQ+xAmY=
github.com/taubyte/domain-validation v1.0.1 h1:T1iRls4p5+uJLR8R/wf+dBt9Rlahg9BcCtBVbkoD0Ik=
github.com/taubyte/domain-validation v1.0.1/go.mod h1:/X3yd7sBjnE323rA8I9PiUt5+NlKU4I02nQik25Vqe8=
github.com/taubyte/go-interfaces v0.2.12 h1:YzkxGfqOIzQcsSqt3UDXgDE9lfvHLLx30ZNBlkqMHLc=
github.com/taubyte/go-interfaces v0.2.12/go.mod h1:4DHAcs77uhLXLGWnoRca6kK/vUw0BPHGr0iXcwnBTaE=
github.com/taubyte/go-interfaces v0.2.13 h1:4mDySAzYdmS8sGKNPcaxbHFtLEPiEovXISP+wmzQ6CA=
github.com/taubyte/go-interfaces v0.2.13/go.mod h1:4DHAcs77uhLXLGWnoRca6kK/vUw0BPHGr0iXcwnBTaE=
github.com/taubyte/go-project-schema v0.9.3 h1:2H0ClUZq7f97OgtL0FUe9tv2v12wOmnTAIiJGLei/gU=
github.com/taubyte/go-project-schema v0.9.3/go.mod h1:8Rt5zsVfj8qbYCT+7++oax/nFVKvVfAepzVkqXrNTs8=
github.com/taubyte/go-sdk v0.3.9 h1:mwwjiub/Jc987kfWvVfAcx63fMRAYB9cj4yhJq+CSyo=
Expand Down

0 comments on commit 8f8567b

Please sign in to comment.