diff --git a/pkg/mount/dag_steps.go b/pkg/mount/dag_steps.go index dde9c4f..7b9cafa 100644 --- a/pkg/mount/dag_steps.go +++ b/pkg/mount/dag_steps.go @@ -291,7 +291,7 @@ func (s *State) MountCustomMountsDagStep(g *herd.Graph) error { } internalUtils.Log.Debug().Str("what", what).Str("where", where).Msg("Custom mount done") } - internalUtils.Log.Err(err.ErrorOrNil()).Send() + internalUtils.Log.Warn().Err(err.ErrorOrNil()).Send() return err.ErrorOrNil() }), @@ -323,7 +323,7 @@ func (s *State) MountCustomBindsDagStep(g *herd.Graph) error { } internalUtils.Log.Debug().Str("what", p).Msg("Bind mount end") } - internalUtils.Log.Err(err.ErrorOrNil()).Send() + internalUtils.Log.Warn().Err(err.ErrorOrNil()).Send() return err.ErrorOrNil() }, ), diff --git a/pkg/mount/operation.go b/pkg/mount/operation.go index 28601c7..6e93001 100644 --- a/pkg/mount/operation.go +++ b/pkg/mount/operation.go @@ -27,14 +27,14 @@ func (m mountOperation) run() error { if m.PrepareCallback != nil { if err := m.PrepareCallback(); err != nil { - l.Err(err).Msg("executing mount callback") + l.Warn().Err(err).Msg("executing mount callback") return err } } //TODO: not only check if mounted but also if the type,options and source are the same? mounted, err := mountinfo.Mounted(m.Target) if err != nil { - l.Err(err).Msg("checking mount status") + l.Warn().Err(err).Msg("checking mount status") return err } if mounted {