From 03ed0545cb7e2d8515e27ea7a0ddf78228eaf37f Mon Sep 17 00:00:00 2001
From: Alex ubuntu vm <alexdecb@yahoo.es>
Date: Wed, 15 May 2024 19:29:04 +0200
Subject: [PATCH] controller manager: removed innecesary prints

---
 src/kubernetes-api/config/manager/kustomization.yaml     | 2 +-
 src/kubernetes-api/internal/sdnclient/internal_client.go | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/kubernetes-api/config/manager/kustomization.yaml b/src/kubernetes-api/config/manager/kustomization.yaml
index db1090b..d9976e2 100644
--- a/src/kubernetes-api/config/manager/kustomization.yaml
+++ b/src/kubernetes-api/config/manager/kustomization.yaml
@@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
 kind: Kustomization
 images:
 - name: controller
-  newName: alexdecb/l2sm-operator
+  newName: alexdecb/l2sm-controller-manager
   newTag: "2.4"
diff --git a/src/kubernetes-api/internal/sdnclient/internal_client.go b/src/kubernetes-api/internal/sdnclient/internal_client.go
index 8658890..b4dcf2d 100644
--- a/src/kubernetes-api/internal/sdnclient/internal_client.go
+++ b/src/kubernetes-api/internal/sdnclient/internal_client.go
@@ -20,14 +20,12 @@ type VnetPayload struct {
 
 func (c *InternalClient) beginSessionController() bool {
 	resp, err := c.Session.Get("/vnets/api/status")
-	fmt.Println("Getting it")
 	if err != nil {
 		fmt.Println(err)
 		return false
 	}
 	defer resp.Body.Close()
 
-	fmt.Println(resp.StatusCode)
 	// Check if the status code indicates success (HTTP 200 OK).
 	return resp.StatusCode == http.StatusOK
 }
-- 
GitLab