dotcloud/docker

View on GitHub
registry/service.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Service.Auth has 5 return statements (exceeds 4 allowed).
Open

func (s *Service) Auth(ctx context.Context, authConfig *registry.AuthConfig, userAgent string) (status, token string, err error) {
    // TODO Use ctx when searching for repositories
    registryHostName := IndexHostname

    if authConfig.ServerAddress != "" {
Severity: Major
Found in registry/service.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status