Skip to content

Commit

Permalink
fix_typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Amygos committed Sep 12, 2024
1 parent 20135c9 commit a884501
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imageroot/actions/upload-certificate/23export_certificates
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ result = subprocess.run(
)

subject = result.stdout
domain = subject.split("\n")[1].split("CN=")[1]
domain = {
"main": subject.split("\n")[0].split("CN=")[1],
}

# save the certificate and key in redis
rdb = agent.redis_connect(privileged=True)
Expand Down

0 comments on commit a884501

Please sign in to comment.