Skip to content

Commit

Permalink
fix: trim whitespaces from token
Browse files Browse the repository at this point in the history
Signed-off-by: German Lashevich <[email protected]>
  • Loading branch information
Zebradil committed Jul 23, 2024
1 parent f6eaffe commit a1f83af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/githubrelease/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ func (d Sync) authToken() (string, error) {
}
}

return token, nil
return strings.TrimSpace(token), nil
}

type ReleaseAPI struct {
Expand Down

0 comments on commit a1f83af

Please sign in to comment.