Skip to content

Commit 19c377b

Browse files
authored
fix: correct URL parameter separator from ',' to '&' in connection endpoint (#19)
1 parent 8c42f4e commit 19c377b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/webhook/v1/pod_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func (m *TensorFusionPodMutator) patchTFClient(pod *corev1.Pod, tfReq []TFReq) (
199199
})
200200
container.Env = append(container.Env, corev1.EnvVar{
201201
Name: constants.GetConnectionURLEnv,
202-
Value: fmt.Sprintf("%s/api/connection?name=%s,namespace=%s", m.Config.OperatorEndpoint, connectionName, connectionNamespace),
202+
Value: fmt.Sprintf("%s/api/connection?name=%s&namespace=%s", m.Config.OperatorEndpoint, connectionName, connectionNamespace),
203203
})
204204
}
205205
}

0 commit comments

Comments
 (0)