Skip to content

Commit f2c67aa

Browse files
authored
Fixed issue with Tables sync sample using updateEntity instead of upsertEntity. (Azure#28454)
1 parent 9c3fc55 commit f2c67aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/tables/azure-data-tables/src/samples/java/com/azure/data/tables/TableHelloWorld.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static void main(String[] args) {
6464
.addProperty("Type", "Marker")
6565
.addProperty("Color", "Blue");
6666

67-
tableClient.updateEntity(entityForUpsert);
67+
tableClient.upsertEntity(entityForUpsert);
6868

6969
System.out.printf("Upserted entity with partition key '%s' and row key '%s'.%n", partitionKey, rowKey);
7070

0 commit comments

Comments
 (0)