dotcloud/docker

View on GitHub
daemon/cluster/convert/volume.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function volumeSpecToGRPC has 75 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func volumeSpecToGRPC(spec volumetypes.ClusterVolumeSpec) *swarmapi.VolumeSpec {
    swarmSpec := &swarmapi.VolumeSpec{
        Group: spec.Group,
    }

Severity: Minor
Found in daemon/cluster/convert/volume.go - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status