Skip to content

Commit e7c126e

Browse files
committed
chore: cleaning up comments
1 parent 2efd79c commit e7c126e

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

provider/pro/resource_rediscloud_pro_database.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ func resourceRedisCloudProDatabaseCreate(ctx context.Context, d *schema.Resource
472472

473473
// Some attributes on a database are not accessible by the subscription creation API.
474474
// Run the subscription update function to apply any additional changes to the databases, such as password, enableDefaultUser and so on.
475-
// Unlock before calling Update since Update also needs to acquire the same subscription mutex.
476475
utils.SubscriptionMutex.Unlock(subId)
477476
return resourceRedisCloudProDatabaseUpdate(ctx, d, meta)
478477
}

provider/resource_rediscloud_active_active_database.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,13 @@ func resourceRedisCloudActiveActiveDatabase() *schema.Resource {
206206
Type: schema.TypeBool,
207207
Optional: true,
208208
},
209-
"auto_minor_version_upgrade": {
210-
Description: "When 'true', enables auto minor version upgrades for this database. Default: 'true'",
211-
Type: schema.TypeBool,
212-
Optional: true,
213-
Default: true,
214-
},
215-
"override_region": {
209+
"auto_minor_version_upgrade": {
210+
Description: "When 'true', enables auto minor version upgrades for this database. Default: 'true'",
211+
Type: schema.TypeBool,
212+
Optional: true,
213+
Default: true,
214+
},
215+
"override_region": {
216216
Description: "Region-specific configuration parameters to override the global configuration",
217217
Type: schema.TypeSet,
218218
Optional: true,
@@ -486,7 +486,6 @@ func resourceRedisCloudActiveActiveDatabaseCreate(ctx context.Context, d *schema
486486

487487
// Some attributes on a database are not accessible by the subscription creation API.
488488
// Run the subscription update function to apply any additional changes to the databases, such as password and so on.
489-
// Unlock before calling Update since Update also needs to acquire the same subscription mutex.
490489
utils.SubscriptionMutex.Unlock(subId)
491490
return resourceRedisCloudActiveActiveDatabaseUpdate(ctx, d, meta)
492491
}

provider/resource_rediscloud_essentials_database.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ func resourceRedisCloudEssentialsDatabaseCreate(ctx context.Context, d *schema.R
443443
// Some attributes on a database are not accessible by the subscription creation API.
444444
// Run the subscription update function to apply any additional changes to the databases (enableDefaultUser)
445445
// Others are omitted here _because_ the update will take care of them, such as tags
446-
// Unlock before calling Update since Update also needs to acquire the same subscription mutex.
447446
utils.SubscriptionMutex.Unlock(subId)
448447
return resourceRedisCloudEssentialsDatabaseUpdate(ctx, d, meta)
449448
}

0 commit comments

Comments
 (0)