Skip to content

Commit

Permalink
fix the typo
Browse files Browse the repository at this point in the history
Signed-off-by: HH <[email protected]>
  • Loading branch information
hhcs9527 committed Sep 17, 2023
1 parent 96aae78 commit 13c6d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/types/structured/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_private_key():

import flytekit

Check warning on line 25 in flytekit/types/structured/snowflake.py

View check run for this annotation

Codecov / codecov/patch

flytekit/types/structured/snowflake.py#L25

Added line #L25 was not covered by tests

pk_string = flytekit.current_context().secrets.get(TASK_TYPE, "private_key", encode_mode="rb")
pk_string = flytekit.current_context().secrets.get(SNOWFLAKE, "private_key", encode_mode="rb")
p_key = serialization.load_pem_private_key(pk_string, password=None, backend=default_backend())

Check warning on line 28 in flytekit/types/structured/snowflake.py

View check run for this annotation

Codecov / codecov/patch

flytekit/types/structured/snowflake.py#L27-L28

Added lines #L27 - L28 were not covered by tests

pkb = p_key.private_bytes(

Check warning on line 30 in flytekit/types/structured/snowflake.py

View check run for this annotation

Codecov / codecov/patch

flytekit/types/structured/snowflake.py#L30

Added line #L30 was not covered by tests
Expand Down

0 comments on commit 13c6d5b

Please sign in to comment.