Skip to content

Commit

Permalink
Update internal/http/appstore.go
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Plischke <alex.plischke@saucelabs.com>
  • Loading branch information
FriggaHel and alexplischke authored Apr 7, 2023
1 parent 6bbde06 commit e50972e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/appstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (s *AppStore) UploadStream(filename, description string, reader io.Reader)
req.SetBasicAuth(s.Username, s.AccessKey)

resp, err := s.HTTPClient.Do(req)
if err != nil && resp == nil {
if err != nil {
return storage.Item{}, err
}

Expand Down

0 comments on commit e50972e

Please sign in to comment.