Skip to content

Commit c5e0c47

Browse files
authored
[BUGFIX] Clean up path name for apply_patch (#6)
1 parent e2c163f commit c5e0c47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ The default algorithm is `Mysql2::AwsRdsIam`'s [default authentication token gen
4141
To connect to your MySQL database, you need to create initializer file that applies the patch:
4242

4343
```ruby
44-
# config/initializers/tcc_rds_iam_auth.rb
44+
# config/initializers/mysql2_aws_rds_iam_auth.rb
4545

46-
Tcc::RdsIamAuth.apply_patch
46+
Mysql2::AwsRdsIam.apply_patch
4747

4848
```
4949

@@ -60,7 +60,7 @@ New rds_iam_auth_host parameter must be added to the database.yml file:
6060
If the default generator doesn't meet your needs, you can create a custom one
6161
6262
```ruby
63-
# config/initializers/tcc_rds_iam_auth.rb
63+
# config/initializers/mysql2_aws_rds_iam_auth.rb
6464

6565
Mysql2::AwsRdsIam.auth_token_registry.add(:custom, ->(host, port, username) { 'your custom logic' })
6666

0 commit comments

Comments
 (0)