FinnTew commented on code in PR #741:
URL:
https://github.com/apache/incubator-seata-go/pull/741#discussion_r1916882857
##########
pkg/saga/statemachine/statelang/parser/task_state_json_parser.go:
##########
@@ -242,7 +259,7 @@ func (s ServiceTaskStateParser) Parse(stateName string,
stateMap map[string]inte
return nil, err
}
- serviceName, err := s.GetString(stateName, stateMap, "serviceName")
+ serviceName, err := s.GetString(stateName, stateMap, "ServiceName")
Review Comment:
During testing, I encountered errors, and upon investigation, I found that
the key names in the three sets of test data in `testdata/statelang` were all
"ServiceName" instead of "serviceName", as shown in the figure below.
Therefore, I made the necessary modifications to parse the unit test.

--
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]