Skip to content

Commit ac84739

Browse files
authored
Add LoggingConfiguration to the registered classes (#12)
1 parent 6e84fcd commit ac84739

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Binary file not shown.

stepfunctions-local-patch/cloud/localstack/PersistenceContext.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package cloud.localstack;
22

33
import com.amazonaws.services.stepfunctions.model.ExecutionStatus;
4+
import com.amazonaws.services.stepfunctions.model.LoggingConfiguration;
45
import com.amazonaws.services.stepfunctions.model.StateMachineStatus;
56
import com.amazonaws.stepfunctions.local.http.RequestHandlers;
67
import com.amazonaws.stepfunctions.local.model.ActivityModel;
@@ -49,6 +50,8 @@ synchronized Kryo getKryo() {
4950
// register execution classes
5051
kryo.register(ExecutionModel.class);
5152
kryo.register(ExecutionStatus.class);
53+
// register LoggingConfiguration class
54+
kryo.register(LoggingConfiguration.class);
5255

5356
// using objenesis StdInstantiatorStrategy to allow creating objects
5457
// from classes without default constructors

0 commit comments

Comments
 (0)