Skip to content
Snippets Groups Projects
Commit 03ed0545 authored by Alex ubuntu vm's avatar Alex ubuntu vm
Browse files

controller manager: removed innecesary prints

parent 720d2969
No related branches found
No related tags found
1 merge request!2repo: added new directory where utils scripts will be
......@@ -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"
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment