Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushines committed Nov 4, 2024
1 parent c347953 commit ce665c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
"k8s.io/client-go/util/homedir"
log "k8s.io/klog/v2"
)

func New() *cobra.Command {
Expand Down Expand Up @@ -141,7 +140,6 @@ func createFn(cmd *cobra.Command, args []string) error {
if err != nil {
return err
}
log.Infof(bp)
topopb, err := topo.Load(args[0])
if err != nil {
return fmt.Errorf("%s: %w", cmd.Use, err)
Expand Down
2 changes: 1 addition & 1 deletion topo/node/arista/arista.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (n *Node) CreateConfig(ctx context.Context) (*corev1.Volume, error) {
if err != nil {
return nil, err
}
log.V(1).Infof("Server Config Map:\n%v\n", sCM)
log.V(1).Infof("Server Config Map:\n%+v\n", sCM)
}
return nil, nil
}
Expand Down

0 comments on commit ce665c2

Please sign in to comment.