dotcloud/docker

View on GitHub
plugin/backend_unsupported.go

Summary

Maintainability
A
2 hrs
Test Coverage

Method Manager.Pull has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (pm *Manager) Pull(ctx context.Context, ref reference.Named, name string, metaHeader http.Header, authConfig *registry.AuthConfig, privileges types.PluginPrivileges, out io.Writer, opts ...CreateOpt) error {
Severity: Major
Found in plugin/backend_unsupported.go - About 1 hr to fix

    Method Manager.Upgrade has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func (pm *Manager) Upgrade(ctx context.Context, ref reference.Named, name string, metaHeader http.Header, authConfig *registry.AuthConfig, privileges types.PluginPrivileges, outStream io.Writer) error {
    Severity: Major
    Found in plugin/backend_unsupported.go - About 50 mins to fix

      Method Manager.Push has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      func (pm *Manager) Push(ctx context.Context, name string, metaHeader http.Header, authConfig *registry.AuthConfig, out io.Writer) error {
      Severity: Minor
      Found in plugin/backend_unsupported.go - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status