mirror of
https://github.com/helm/helm.git
synced 2026-04-21 22:27:03 -04:00
Properly discard by default logs
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
This commit is contained in:
parent
b2380720eb
commit
83a5a14826
1 changed files with 2 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ package monocular
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"io"
|
||||
"log/slog"
|
||||
"net/url"
|
||||
)
|
||||
|
|
@ -44,7 +45,7 @@ func New(u string) (*Client, error) {
|
|||
|
||||
return &Client{
|
||||
BaseURL: u,
|
||||
Log: slog.Default(),
|
||||
Log: slog.New(slog.NewTextHandler(io.Discard, nil)),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue