File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package codefresh
33import (
44 "context"
55 "fmt"
6-
76 "github.com/codefresh-io/go-sdk/pkg/codefresh/model"
87)
98
@@ -55,13 +54,13 @@ func newArgoRuntimeAPI(codefresh *codefresh) IRuntimeAPI {
5554func (r * argoRuntime ) Create (ctx context.Context , opts * model.RuntimeInstallationArgs ) (* model.RuntimeCreationResponse , error ) {
5655 jsonData := map [string ]interface {}{
5756 "query" : `
58- mutation CreateRuntime($installationArgs: RuntimeInstallationArgs!) {
59- runtimeNew(installationArgs: $installationArgs) {
60- name
61- newAccessToken
62- }
57+ mutation CreateRuntime($installationArgs: RuntimeInstallationArgs!) {
58+ runtimeNew(installationArgs: $installationArgs) {
59+ name
60+ newAccessToken
6361 }
64- ` ,
62+ }
63+ ` ,
6564 "variables" : map [string ]interface {}{
6665 "installationArgs" : opts ,
6766 },
You can’t perform that action at this time.
0 commit comments