Skip to content

Commit b8e4444

Browse files
authoredApr 28, 2022
change region to slice (#97)
1 parent 465610a commit b8e4444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎internal/provider/resource_database.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ func flattenDatabase(db *astra.Database) map[string]interface{} {
505505
"data_endpoint_url": astra.StringValue(db.DataEndpointUrl),
506506
"cqlsh_url": astra.StringValue(db.CqlshUrl),
507507
"cloud_provider": "",
508-
"regions": [1]string{astra.StringValue(db.Info.Region)},
508+
"regions": []string{astra.StringValue(db.Info.Region)},
509509
"keyspace": astra.StringValue(db.Info.Keyspace),
510510
"additional_keyspaces": astra.StringSlice(db.Info.AdditionalKeyspaces),
511511
"node_count": db.Storage.NodeCount,

0 commit comments

Comments
 (0)
Please sign in to comment.