dotcloud/docker

View on GitHub
integration/internal/swarm/states.go

Summary

Maintainability
A
1 hr
Test Coverage

Function JobComplete has 59 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func JobComplete(ctx context.Context, client client.CommonAPIClient, service swarmtypes.Service) func(log poll.LogT) poll.Result {
    filter := filters.NewArgs(filters.Arg("service", service.ID))

    var jobIteration swarmtypes.Version
    if service.JobStatus != nil {
Severity: Minor
Found in integration/internal/swarm/states.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status