mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 05:36:50 +08:00
update: removed port since default is 80
This commit is contained in:
@@ -1556,8 +1556,7 @@ with statistics about the workflow that was just executed.
|
|||||||
*/
|
*/
|
||||||
func getCURLNodeTemplate(name, curlMethod, curlPath, curlBody string, inputs wfv1.Inputs) (template *wfv1.Template, err error) {
|
func getCURLNodeTemplate(name, curlMethod, curlPath, curlBody string, inputs wfv1.Inputs) (template *wfv1.Template, err error) {
|
||||||
host := "onepanel-core.onepanel.svc.cluster.local"
|
host := "onepanel-core.onepanel.svc.cluster.local"
|
||||||
port := "80"
|
endpoint := fmt.Sprintf("http://%s%s", host, curlPath)
|
||||||
endpoint := fmt.Sprintf("http://%s:%s%s", host, port, curlPath)
|
|
||||||
template = &wfv1.Template{
|
template = &wfv1.Template{
|
||||||
Name: name,
|
Name: name,
|
||||||
Inputs: inputs,
|
Inputs: inputs,
|
||||||
|
Reference in New Issue
Block a user