Skip to content

Commit 49628dc

Browse files
committed
Small bugfix
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
1 parent 113b0be commit 49628dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/config/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ type DirigentConfig struct {
112112
RpsFile string `json:"RpsFile"`
113113

114114
Workflow bool `json:"Workflow"`
115-
WorkflowConfigPath string `json:"WorkflowPath"`
115+
WorkflowConfigPath string `json:"WorkflowConfigPath"`
116116
}
117117

118118
func ReadConfigurationFile(path string) LoaderConfiguration {

pkg/driver/clients/http_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func (i *httpInvoker) workflowInvocationRequest(wf *common.Function) *http.Reque
149149

150150
// create request
151151
reqBody := bytes.NewBufferString(wf.WorkflowMetadata.InvocationRequest)
152-
req, err := http.NewRequest("POST", "http://"+wf.Endpoint+"/workflow", reqBody)
152+
req, err := http.NewRequest("POST", fmt.Sprintf("http://%s/workflow", wf.Endpoint), reqBody)
153153
if err != nil {
154154
log.Errorf("Failed to create a HTTP request - %v\n", err)
155155
return nil

0 commit comments

Comments
 (0)