Skip to content

Commit

Permalink
remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteFoy committed Nov 5, 2024
1 parent 1f53081 commit 14c13a3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/config/remote/uptane/remote_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,6 @@ func (s *cdnRemoteStore) getRCFile(path string) (io.ReadCloser, int64, error) {
if err != nil {
return nil, 0, err
}
if resp.StatusCode == http.StatusUnauthorized || resp.StatusCode == http.StatusForbidden {
s.authnToken = "" // TODO: remove before merge or get it fixed in another PR
}
if resp.StatusCode == http.StatusNotFound {
return nil, 0, client.ErrNotFound{File: path}
}
Expand Down

0 comments on commit 14c13a3

Please sign in to comment.