Skip to content

Commit

Permalink
fix(vapt-scr):use python built-in func (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-ng authored Oct 18, 2024
1 parent 65d46f8 commit 537ba2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def upgrade_vault(tag_pattern, consul_addr, service_name, vault_port, tls_server

unseal_keys = set()
for _ in range(0, unseal_count):
unseal_keys.add(sys.stdin.readline().strip())
unseal_keys.add(input().strip())

assert_collection_len(unseal_keys, unseal_count)

Expand Down

0 comments on commit 537ba2a

Please sign in to comment.