kingamarton commented on a change in pull request #207:
URL: 
https://github.com/apache/incubator-yunikorn-core/pull/207#discussion_r551403037



##########
File path: pkg/common/configs/config.go
##########
@@ -191,6 +204,13 @@ func resolveConfigurationFileFunc(policyGroup string) 
string {
        }
        return filePath
 }
+func GetConfigurationString(requestBytes []byte) string {
+       conf := string(requestBytes)
+       if strings.Contains(conf, "checksum") {
+               conf = strings.Split(conf, "checksum: ")[0]

Review comment:
       You are right. I modified it to parse the checksum wherever it is 
placed. If it is placed in the middle of the request, it will consider the 
first 64 characters after the `"Checksum: "` string




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to