dotcloud/docker

View on GitHub
api/server/backend/build/backend.go

Summary

Maintainability
A
45 mins
Test Coverage

Method Backend.Build has 7 return statements (exceeds 4 allowed).
Open

func (b *Backend) Build(ctx context.Context, config backend.BuildConfig) (string, error) {
    options := config.Options
    useBuildKit := options.Version == types.BuilderBuildKit

    tags, err := sanitizeRepoAndTags(options.Tags)
Severity: Major
Found in api/server/backend/build/backend.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status