Skip to content

Commit 62235d2

Browse files
wip
1 parent 89b3f7b commit 62235d2

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/codefresh-io/go-sdk
22

33
require (
44
github.com/BurntSushi/toml v0.3.1 // indirect
5-
github.com/codefresh-io/argo-platform v1.12.4-0.20210630081821-dfc9fd4ddae9
5+
github.com/codefresh-io/argo-platform v1.13.0
66
github.com/dustin/go-humanize v1.0.0
77
github.com/google/go-querystring v1.1.0
88
github.com/inconshreveable/mousetrap v1.0.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
22
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
33
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
4-
github.com/codefresh-io/argo-platform v1.12.4-0.20210630081821-dfc9fd4ddae9 h1:lUrKubj1uhE2q60hSJ8uPqVPax9jk6Wzu8UEhK5A5rM=
5-
github.com/codefresh-io/argo-platform v1.12.4-0.20210630081821-dfc9fd4ddae9/go.mod h1:u/eLWAySJ1nRzNWnB5baeyIc5vqINghwYJvydU+EC3c=
4+
github.com/codefresh-io/argo-platform v1.13.0 h1:eWAWkxtO0nGZuekrQJsfFT5KfBMdWby0cOucy4yTExs=
5+
github.com/codefresh-io/argo-platform v1.13.0/go.mod h1:u/eLWAySJ1nRzNWnB5baeyIc5vqINghwYJvydU+EC3c=
66
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
77
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
88
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=

pkg/codefresh/argo_runtime.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package codefresh
22

33
import (
4-
"bytes"
54
"encoding/json"
65
"fmt"
76
"io/ioutil"
@@ -18,11 +17,10 @@ type (
1817
codefresh *codefresh
1918
}
2019
graphqlRuntimesResponse struct {
21-
Data graphqlRuntimesInnerResponse`json:"data"`
22-
// Errors []byte
23-
}
24-
graphqlRuntimesInnerResponse struct {
25-
Runtimes model.RuntimePage `json:"runtimes"`
20+
Data struct {
21+
Runtimes model.RuntimePage `json:"runtimes"`
22+
} `json:"data"`
23+
Errors []byte
2624
}
2725
)
2826

0 commit comments

Comments
 (0)