File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
cslog = log .WithComponent ("ContainerdSampler" ) //nolint:gochecknoglobals
22
22
23
23
errContainerdSampler = errors .New ("containerd sampler" )
24
- errInitializeContainerd = errors .New ("unable to initialize containerd client, could be not installed on the host" )
24
+ errInitializeContainerd = errors .New ("unable to initialize containerd client, maybe it is not installed on the host" )
25
25
errCannotGetPids = errors .New ("unable to get pids for container" )
26
26
errCannotGetTask = errors .New ("unable to get task for container" )
27
27
errCannotGetContainerInfo = errors .New ("unable to get container info" )
@@ -71,7 +71,7 @@ func (d *ContainerdSampler) Enabled() bool {
71
71
72
72
d .containerdClient , err = initializeContainerdClient ()
73
73
if err != nil {
74
- cslog .WithError (err ).Warn (errInitializeContainerd .Error ())
74
+ cslog .WithError (err ).Info (errInitializeContainerd .Error ())
75
75
76
76
return false
77
77
}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ func (d *DockerSampler) Enabled() bool {
69
69
70
70
d .dockerClient , err = initializeDockerClient (d .apiVersion )
71
71
if err != nil {
72
- dslog .WithError (err ).Warn ("unable to initialize docker client, could be not installed on the host" )
72
+ dslog .WithError (err ).Info ("unable to initialize docker client, maybe it is not installed on the host" )
73
73
74
74
return false
75
75
}
You can’t perform that action at this time.
0 commit comments