Skip to content

Commit 2eec746

Browse files
authored
Merge pull request #5901 from NinaLua/master
chore: make function comment match function name
2 parents e201b4e + aa66f07 commit 2eec746

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cli/command/trust/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func notaryRoleToSigner(tufRole data.RoleName) string {
2828
return strings.TrimPrefix(tufRole.String(), "targets/")
2929
}
3030

31-
// clearChangelist clears the notary staging changelist.
31+
// clearChangeList clears the notary staging changelist.
3232
func clearChangeList(notaryRepo client.Repository) error {
3333
cl, err := notaryRepo.GetChangelist()
3434
if err != nil {

cli/internal/oauth/api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func resetTimer(t *time.Timer, d time.Duration) {
155155
t.Reset(d)
156156
}
157157

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

0 commit comments

Comments
 (0)