Support fog-aws host options for Workhorse S3 client
In addition to the standard endpoint
parameter, fog-aws also supports:
host
scheme
port
If consolidated object storage settings are used with these parameters,
Workhorse will not receive the right endpoint. The S3 Workhorse client
will attempt to use the default AWS endpoints
(e.g. bucket.s3.amazonaws.com
) instead of the custom host.
Since fog-aws has some special defaults and logic that maps regions to endpoints, we drive the endpoint by looking at a sample URL.
Closes #300849 (closed)
Edited by Stan Hu