daemon: fix typos in error messages

closes #255
This commit is contained in:
Juergen Hoetzel 2019-12-11 18:00:00 +01:00 committed by Christian Schwarz
parent c24c327151
commit b3231d2bed
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ func Run(conf *config.Config) error {
return errors.Errorf("unknown monitoring job #%d (type %T)", i, v)
}
if err != nil {
return errors.Wrapf(err, "cannot build monitorin gjob #%d", i)
return errors.Wrapf(err, "cannot build monitoring job #%d", i)
}
jobs.start(ctx, job, true)
}

View File

@ -39,7 +39,7 @@ func snapJobFromConfig(g *config.Global, in *config.SnapJob) (j *SnapJob, err er
j = &SnapJob{}
fsf, err := filters.DatasetMapFilterFromConfig(in.Filesystems)
if err != nil {
return nil, errors.Wrap(err, "cannnot build filesystem filter")
return nil, errors.Wrap(err, "cannot build filesystem filter")
}
j.fsfilter = fsf