Skip to content

Commit

Permalink
fix (#13102)
Browse files Browse the repository at this point in the history
References the issue here:
#12630

The parameters in the CreateUpdateCassandraTable method should be id.CassandraKeyspaceName instead of id.DatabaseAccountName.
  • Loading branch information
blame19 authored Aug 23, 2021
1 parent d8ad988 commit 1c4583e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func resourceCosmosDbCassandraTableUpdate(d *pluginsdk.ResourceData, meta interf
table.CassandraTableCreateUpdateProperties.Resource.DefaultTTL = utils.Int32(int32(defaultTTL.(int)))
}

future, err := client.CreateUpdateCassandraTable(ctx, id.ResourceGroup, id.DatabaseAccountName, id.DatabaseAccountName, id.TableName, table)
future, err := client.CreateUpdateCassandraTable(ctx, id.ResourceGroup, id.DatabaseAccountName, id.CassandraKeyspaceName, id.TableName, table)
if err != nil {
return fmt.Errorf("updating %s: %+v", *id, err)
}
Expand Down

0 comments on commit 1c4583e

Please sign in to comment.