Skip to content

Commit

Permalink
Fix Get Agent Secret Using Key (#2644)
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier authored Aug 2, 2024
1 parent 3d96dd6 commit bcfbb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/extend/backend/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def is_terminal_phase(phase: TaskExecution.Phase) -> bool:


def get_agent_secret(secret_key: str) -> str:
return flytekit.current_context().secrets.get(secret_key)
return flytekit.current_context().secrets.get(key=secret_key)


def render_task_template(tt: TaskTemplate, file_prefix: str) -> TaskTemplate:
Expand Down

0 comments on commit bcfbb80

Please sign in to comment.