MCPcopy Index your code
hub / github.com/devspace-sh/devspace / disableKlog

Function disableKlog

cmd/root.go:309–319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

307}
308
309func disableKlog() {
310 flagSet := &flag.FlagSet{}
311 klog.InitFlags(flagSet)
312 _ = flagSet.Set("logtostderr", "false")
313 klog.SetOutput(io.Discard)
314
315 flagSet = &flag.FlagSet{}
316 klogv2.InitFlags(flagSet)
317 _ = flagSet.Set("logtostderr", "false")
318 klogv2.SetOutput(io.Discard)
319}
320
321func parseConfig(f factory.Factory) (*RawConfig, error) {
322 // get current working dir

Callers 1

ExecuteFunction · 0.85

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected