Skip to content

Commit

Permalink
Merge pull request #209 from RomainBelorgey/credentials_pkg
Browse files Browse the repository at this point in the history
Moving credentials from internal to pkg
  • Loading branch information
silvin-lubecki authored Jul 22, 2022
2 parents 89d966e + c5e9d66 commit d383e72
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion internal/commands/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import (
"github.com/spf13/cobra"

"github.com/docker/hub-tool/internal/ansi"
"github.com/docker/hub-tool/internal/credentials"
"github.com/docker/hub-tool/internal/errdef"
"github.com/docker/hub-tool/internal/login"
"github.com/docker/hub-tool/internal/metrics"
"github.com/docker/hub-tool/pkg/credentials"
"github.com/docker/hub-tool/pkg/hub"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/commands/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (

"github.com/docker/cli/cli/command"
"github.com/docker/hub-tool/internal/ansi"
"github.com/docker/hub-tool/internal/credentials"
"github.com/docker/hub-tool/internal/metrics"
"github.com/docker/hub-tool/pkg/credentials"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
"github.com/docker/hub-tool/internal/commands/repo"
"github.com/docker/hub-tool/internal/commands/tag"
"github.com/docker/hub-tool/internal/commands/token"
"github.com/docker/hub-tool/internal/credentials"
"github.com/docker/hub-tool/internal/login"
"github.com/docker/hub-tool/pkg/credentials"
"github.com/docker/hub-tool/pkg/hub"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/login/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"github.com/pkg/errors"

"github.com/docker/hub-tool/internal/ansi"
"github.com/docker/hub-tool/internal/credentials"
"github.com/docker/hub-tool/internal/errdef"
"github.com/docker/hub-tool/pkg/credentials"
"github.com/docker/hub-tool/pkg/hub"
)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
cliflags "github.com/docker/cli/cli/flags"

"github.com/docker/hub-tool/internal/commands"
"github.com/docker/hub-tool/internal/credentials"
"github.com/docker/hub-tool/pkg/credentials"
"github.com/docker/hub-tool/pkg/hub"
)

Expand Down
File renamed without changes.

0 comments on commit d383e72

Please sign in to comment.