Skip to content

Commit

Permalink
Added default amazon endpoint string (kubeflow#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
axsaucedo authored and k8s-ci-robot committed Dec 13, 2019
1 parent e1d1ba5 commit aa828bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/kfserving/kfserving/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _download_local(uri, out_dir=None):
@staticmethod
def _create_minio_client():
# Remove possible http scheme for Minio
url = urlparse(os.getenv("AWS_ENDPOINT_URL", ""))
url = urlparse(os.getenv("AWS_ENDPOINT_URL", "s3.amazonaws.com"))
use_ssl = url.scheme == 'https' if url.scheme else bool(os.getenv("S3_USE_HTTPS", "true"))
return Minio(url.netloc,
access_key=os.getenv("AWS_ACCESS_KEY_ID", ""),
Expand Down

0 comments on commit aa828bc

Please sign in to comment.