asteris-llc/converge

View on GitHub
resource/lvm/fs/fs.go

Summary

Maintainability
A
35 mins
Test Coverage

Method resourceFS.Check has 5 return statements (exceeds 4 allowed).
Open

func (r *resourceFS) Check(context.Context, resource.Renderer) (resource.TaskStatus, error) {
    status := &resource.Status{}

    if err := r.lvm.CheckFilesystemTools(r.mount.Type); err != nil {
        return nil, errors.Wrapf(err, "filesystem prerequisites for %s", r.mount.Type)
Severity: Major
Found in resource/lvm/fs/fs.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status