Skip to content

Commit 7812eed

Browse files
authored
Merge pull request #44 from codefresh-io/CR-6176-list-with-version-and-cluster
2 parents bfe3be6 + dcbf3ee commit 7812eed

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.32.5
1+
0.32.6

pkg/codefresh/argo_runtime.go

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,25 @@ func newArgoRuntimeAPI(codefresh *codefresh) IRuntimeAPI {
3939
func (r *argoRuntime) List(ctx context.Context) ([]model.Runtime, error) {
4040
jsonData := map[string]interface{}{
4141
"query": `{
42-
runtimes {
43-
edges {
44-
node {
45-
metadata {
46-
name
47-
namespace
48-
}
49-
self {
50-
healthStatus
51-
version
52-
}
53-
cluster
42+
runtimes {
43+
edges {
44+
node {
45+
metadata {
46+
name
47+
namespace
5448
}
49+
self {
50+
syncStatus
51+
healthMessage
52+
healthStatus
53+
}
54+
cluster
55+
ingressHost
56+
runtimeVersion
5557
}
5658
}
57-
}`,
59+
}
60+
}`,
5861
}
5962

6063
res := &graphqlRuntimesResponse{}

0 commit comments

Comments
 (0)