xjlgod commented on code in PR #871:
URL:
https://github.com/apache/incubator-seata-go/pull/871#discussion_r2311918775
##########
pkg/saga/statemachine/engine/config/default_statemachine_config.go:
##########
@@ -732,3 +735,22 @@ func WithStateMachineRepository(machineRepo
repo.StateMachineRepository) Option
c.stateMachineRepository = machineRepo
}
}
+
+func WithConfigPath(path string) Option {
+ return func(c *DefaultStateMachineConfig) {
+ if path == "" {
Review Comment:
What happens when path is empty
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]