Skip to content

Commit e8fb5f4

Browse files
removed redundant
1 parent 6871335 commit e8fb5f4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pkg/codefresh/argo_runtime.go

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package codefresh
33
import (
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 {
5554
func (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
},

0 commit comments

Comments
 (0)