We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3b564c commit 267f069Copy full SHA for 267f069
pkg/codefresh/argo_runtime.go
@@ -36,10 +36,8 @@ func newArgoRuntimeAPI(codefresh *codefresh) IArgoRuntimeAPI {
36
}
37
38
func (r *argoRuntime) Create(runtimeName string) (*model.RuntimeCreationResponse, error) {
39
- type forJsonData interface{}
40
-
41
// the newlines are necessary
42
- var interpolatedMutation forJsonData = fmt.Sprintf("mutation {\n runtime(name: \"%s\") {\n id\n newAccessToken\n }\n}\n", runtimeName)
+ var interpolatedMutation interface{} = fmt.Sprintf("mutation {\n runtime(name: \"%s\") {\n id\n newAccessToken\n }\n}\n", runtimeName)
43
44
jsonData := map[string]interface{}{
45
"query": interpolatedMutation,
0 commit comments