Skip to content

Commit

Permalink
change region to slice (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
emerkle826 authored Apr 28, 2022
1 parent 465610a commit b8e4444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/resource_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ func flattenDatabase(db *astra.Database) map[string]interface{} {
"data_endpoint_url": astra.StringValue(db.DataEndpointUrl),
"cqlsh_url": astra.StringValue(db.CqlshUrl),
"cloud_provider": "",
"regions": [1]string{astra.StringValue(db.Info.Region)},
"regions": []string{astra.StringValue(db.Info.Region)},
"keyspace": astra.StringValue(db.Info.Keyspace),
"additional_keyspaces": astra.StringSlice(db.Info.AdditionalKeyspaces),
"node_count": db.Storage.NodeCount,
Expand Down

0 comments on commit b8e4444

Please sign in to comment.