We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 203d86d commit fe65bf4Copy full SHA for fe65bf4
1 file changed
client/src/main/java/com/microsoft/durabletask/history/OrchestrationState.java
@@ -8,6 +8,7 @@
8
import javax.annotation.Nullable;
9
import java.time.Instant;
10
import java.util.Collections;
11
+import java.util.HashMap;
12
import java.util.Map;
13
14
/**
@@ -83,7 +84,7 @@ public OrchestrationState(
83
84
this.failureDetails = failureDetails;
85
this.executionId = executionId;
86
this.parentInstanceId = parentInstanceId;
- this.tags = tags == null ? null : Collections.unmodifiableMap(tags);
87
+ this.tags = tags == null ? null : Collections.unmodifiableMap(new HashMap<>(tags));
88
}
89
90
/** @return the orchestration instance ID. */
0 commit comments