Skip to content

Commit 142deaf

Browse files
small fix (#439)
1 parent 7bfe0a7 commit 142deaf

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.44.0
1+
0.44.1

pkg/codefresh/ap_isc.go

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
type (
99
IAppProxyIscAPI interface {
10-
RemoveRuntimeFromIscRepo(ctx context.Context, runtimeName string) (int, error)
10+
RemoveRuntimeFromIscRepo(ctx context.Context) (int, error)
1111
}
1212

1313
appProxyIsc struct {
@@ -26,18 +26,13 @@ func newAppProxyIscAPI(c *codefresh) IAppProxyIscAPI {
2626
return &appProxyIsc{codefresh: c}
2727
}
2828

29-
func (c *appProxyIsc) RemoveRuntimeFromIscRepo(ctx context.Context, runtimeName string) (int, error) {
29+
func (c *appProxyIsc) RemoveRuntimeFromIscRepo(ctx context.Context) (int, error) {
3030
jsonData := map[string]interface{}{
3131
"query": `
32-
mutation RemoveRuntimeFromIscRepo(
33-
$runtime: String!
34-
) {
35-
removeRuntimeFromIscRepo(runtime: $runtime)
32+
mutation RemoveRuntimeFromIscRepo {
33+
removeRuntimeFromIscRepo
3634
}
3735
`,
38-
"variables": map[string]interface{}{
39-
"runtime": runtimeName,
40-
},
4136
}
4237

4338
res := &graphqlAppProxyRemoveRuntimeFromIscRepoResponse{}

0 commit comments

Comments
 (0)