Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zheng <[email protected]>
  • Loading branch information
Two-Hearts committed Feb 2, 2024
1 parent 6774856 commit fe059ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/notation/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/notaryproject/notation/internal/cmd"
"github.com/spf13/cobra"
"golang.org/x/term"
credentials "oras.land/oras-go/v2/registry/remote/credentials"
"oras.land/oras-go/v2/registry/remote/credentials"
)

const urlDocHowToAuthenticate = "https://notaryproject.dev/docs/how-to/registry-authentication/"
Expand Down
2 changes: 1 addition & 1 deletion cmd/notation/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/notaryproject/notation/internal/auth"
"github.com/notaryproject/notation/internal/cmd"
"github.com/spf13/cobra"
credentials "oras.land/oras-go/v2/registry/remote/credentials"
"oras.land/oras-go/v2/registry/remote/credentials"
)

type logoutOpts struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/notation/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"oras.land/oras-go/v2/registry"
"oras.land/oras-go/v2/registry/remote"
"oras.land/oras-go/v2/registry/remote/auth"
credentials "oras.land/oras-go/v2/registry/remote/credentials"
"oras.land/oras-go/v2/registry/remote/credentials"
)

// inputType denotes the user input type
Expand Down
2 changes: 1 addition & 1 deletion internal/auth/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"fmt"

"github.com/notaryproject/notation-go/dir"
credentials "oras.land/oras-go/v2/registry/remote/credentials"
"oras.land/oras-go/v2/registry/remote/credentials"
)

// NewCredentialsStore returns a new credentials store from the settings in the
Expand Down

0 comments on commit fe059ec

Please sign in to comment.