Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/command/trust/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func notaryRoleToSigner(tufRole data.RoleName) string {
return strings.TrimPrefix(tufRole.String(), "targets/")
}

// clearChangelist clears the notary staging changelist.
// clearChangeList clears the notary staging changelist.
func clearChangeList(notaryRepo client.Repository) error {
cl, err := notaryRepo.GetChangelist()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cli/internal/oauth/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func resetTimer(t *time.Timer, d time.Duration) {
t.Reset(d)
}

// getToken calls the token endpoint of Auth0 and returns the response.
// getDeviceToken calls the token endpoint of Auth0 and returns the response.
func (a API) getDeviceToken(ctx context.Context, state State) (TokenResponse, error) {
ctx, cancel := context.WithTimeout(ctx, 1*time.Minute)
defer cancel()
Expand Down