Skip to content

Commit

Permalink
optimize data_persistence_authentication_method settings
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhang3 committed Dec 20, 2024
1 parent c5c8571 commit 648023f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/services/redis/redis_cache_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -956,11 +956,7 @@ func expandRedisConfiguration(d *pluginsdk.ResourceData) (*redis.RedisCommonProp
output.MaxmemoryPolicy = pointer.To(v)
}

if v := raw["data_persistence_authentication_method"].(string); v != "" {
output.PreferredDataPersistenceAuthMethod = pointer.To(v)
} else {
output.PreferredDataPersistenceAuthMethod = pointer.To("")
}
output.PreferredDataPersistenceAuthMethod = pointer.To(raw["data_persistence_authentication_method"].(string))

// AAD/Entra support
// nolint : staticcheck
Expand Down

0 comments on commit 648023f

Please sign in to comment.