Skip to content

Commit

Permalink
remove unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-cvit committed Jan 20, 2024
1 parent 0411be1 commit d15d111
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cyclops-ctrl/internal/cluster/k8sclient/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package k8sclient

import (
"context"
"encoding/json"
"fmt"
"os"
"sort"
Expand Down Expand Up @@ -39,12 +38,7 @@ func (k *KubernetesClient) CreateModule(module cyclopsv1alpha1.Module) error {
}

func (k *KubernetesClient) UpdateModule(module cyclopsv1alpha1.Module) error {
m, err := k.moduleset.Modules(cyclopsNamespace).Update(&module)

b, err := json.Marshal(m)
fmt.Println(err)
fmt.Println(string(b))

_, err := k.moduleset.Modules(cyclopsNamespace).Update(&module)
return err
}

Expand Down

0 comments on commit d15d111

Please sign in to comment.