Skip to content

Commit 3cac332

Browse files
auto commit
1 parent dd8fb05 commit 3cac332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/runtimes/go/keyring/awskmsrsakeyring.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func KmsRsaKeyringExample(ddbTableName, rsaKeyArn, rsaPublicKeyFilename string)
5757
// You may provide your own RSA public key at rsaPublicKeyFilename.
5858
// This must be the public key for the RSA key represented at rsaKeyArn.
5959
// If this file is not present, this will write a UTF-8 encoded PEM file for you.
60-
if utils.FileExists(rsaPublicKeyFilename) {
60+
if !utils.FileExists(rsaPublicKeyFilename) {
6161
writePublicKeyPemForRsaKey(rsaKeyArn, rsaPublicKeyFilename)
6262
}
6363

0 commit comments

Comments
 (0)