Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <pingsutw@apache.org>
  • Loading branch information
pingsutw committed Jun 1, 2023
1 parent 3e15c0a commit 7c20f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/deck/deck.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _output_deck(task_name: str, new_user_params: ExecutionParameters):
f.write(_get_deck(new_user_params, ignore_jupyter=True))
logger.info(f"{task_name} task creates flyte deck html to file://{local_path}")
if ctx.execution_state.mode == ExecutionState.Mode.TASK_EXECUTION:
remote_path = f"{new_user_params}{os.sep}{DECK_FILE_NAME}"
remote_path = f"{new_user_params.output_metadata_prefix}{os.sep}{DECK_FILE_NAME}"
kwargs: typing.Dict[str, str] = {

Check warning on line 155 in flytekit/deck/deck.py

View check run for this annotation

Codecov / codecov/patch

flytekit/deck/deck.py#L154-L155

Added lines #L154 - L155 were not covered by tests
"ContentType": "text/html", # For s3
"content_type": "text/html", # For gcs
Expand Down

0 comments on commit 7c20f45

Please sign in to comment.