Skip to content

Commit

Permalink
rgw : fix python script using s3cmd with error code 403
Browse files Browse the repository at this point in the history
  • Loading branch information
BryceCao committed Dec 12, 2022
1 parent c2d141b commit a10badd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/workunits/rgw/test_rgw_datacache.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_radosgw_endpoint():
port = [i for i in x if ':' in i][0].split(':')[1]
log.info('radosgw port: %s' % port)
proto = "http"
hostname = 'localhost'
hostname = '127.0.0.1'

if port == '443':
proto = "https"
Expand Down

0 comments on commit a10badd

Please sign in to comment.