Browse Source

Fix error reporting

Signed-off-by: Manuel Buil <mbuil@suse.com>
pull/8250/head
Manuel Buil 1 year ago
parent
commit
d3f7632463
  1. 2
      pkg/agent/containerd/containerd.go

2
pkg/agent/containerd/containerd.go

@ -93,7 +93,7 @@ func Run(ctx context.Context, cfg *config.Node) error {
addDeathSig(cmd)
if err := cmd.Run(); err != nil {
fmt.Fprintf(os.Stderr, "containerd: %s\n", err)
logrus.Errorf("containerd exited: %s", err)
}
os.Exit(1)
}()

Loading…
Cancel
Save