Skip to content

Commit 29edfcd

Browse files
Merge pull request #29 from mlrun/daniels290813-patch-3
Update project_setup.py
2 parents d00cf15 + cc0ad99 commit 29edfcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project_setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def setup(
5050
if use_sqlite:
5151
# uploading db file to s3:
5252
if CE_MODE:
53-
s3 = boto3.client("s3") if not os.getenv("S3_ENDPOINT_URL") else boto3.client('s3', endpoint_url=os.getenv("S3_ENDPOINT_URL"))
53+
s3 = boto3.client("s3") if not os.getenv("AWS_ENDPOINT_URL_S3") else boto3.client('s3', endpoint_url=os.getenv("AWS_ENDPOINT_URL_S3"))
5454
bucket_name = Path(mlrun.mlconf.artifact_path).parts[1]
5555
# Upload the file
5656
s3.upload_file(
@@ -361,4 +361,4 @@ def _set_workflows(project: mlrun.projects.MlrunProject, image):
361361
)
362362
project.set_workflow(
363363
name="calls-analysis", workflow_path="./src/workflows/calls_analysis.py", image=image
364-
)
364+
)

0 commit comments

Comments
 (0)