Skip to content

Commit 83c0b0c

Browse files
author
olegs-codefresh
committed
fix func name
1 parent 2ef21b0 commit 83c0b0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

create-clusters.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func addCluser(host string, contextName string, token []byte, crt []byte, jwt st
9393
}
9494
mar, _ := json.Marshal(payload)
9595
p := strings.NewReader(string(mar))
96-
err := testConnections(payload, jwt)
96+
err := testConnection(payload, jwt)
9797
if err != nil {
9898
return nil, err
9999
}
@@ -115,7 +115,7 @@ func addCluser(host string, contextName string, token []byte, crt []byte, jwt st
115115
return body, nil
116116
}
117117

118-
func testConnections(payload *requestPayload, jwt string) error {
118+
func testConnection(payload *requestPayload, jwt string) error {
119119
url := "http://g.codefresh.io/api/kubernetes/test"
120120
mar, _ := json.Marshal(payload)
121121
p := strings.NewReader(string(mar))

0 commit comments

Comments
 (0)