Skip to content

Commit

Permalink
chore(service-proxy): remove printf
Browse files Browse the repository at this point in the history
Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
  • Loading branch information
ibakshay committed Jan 10, 2025
1 parent f058bae commit 88a5aab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/service-proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ func (pm *ProxyManager) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.R
for url, svc := range plugin.Status.ExposedServices {
u := *k8sAPIURL // copy URL struct

fmt.Printf("svc: %v\n", svc)

if svc.Protocol != nil && *svc.Protocol == "https" {
// For HTTPS, format should be: https:<service_name>:<port>
u.Path = fmt.Sprintf("/api/v1/namespaces/%s/services/https:%s:%d/proxy", svc.Namespace, svc.Name, svc.Port)
Expand Down

0 comments on commit 88a5aab

Please sign in to comment.