Skip to content

Commit c7f2aea

Browse files
committed
using metaCopy
Signed-off-by: salaboy <[email protected]>
1 parent 0c71d0c commit c7f2aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/src/main/java/io/dapr/client/AbstractDaprClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ public Mono<Void> saveState(String storeName, String key, String etag, Object va
527527
metaCopy.putIfAbsent("contentType", stateSerializer.getContentType());
528528
}
529529

530-
State<?> state = new State<>(key, value, etag, meta, options);
530+
State<?> state = new State<>(key, value, etag, metaCopy, options);
531531
return this.saveBulkState(storeName, Collections.singletonList(state));
532532
}
533533

0 commit comments

Comments
 (0)