sureshanaparti commented on code in PR #18:
URL: https://github.com/apache/cloudstack-csbench/pull/18#discussion_r2149456131


##########
apirunner/apirunner.go:
##########
@@ -145,7 +151,7 @@ func executeAPIandCalculate(profileName string, apiURL 
string, command string, p
                log.Infof("count [%.f] : Time in seconds [Min - %.2f] [Max - 
%.2f] [Avg - %.2f]\n", count, minTime, maxTime, avgTime)
                saveData(apiURL, count, minTime, maxTime, avgTime, page, 
pagesize, keyword, profileName, command, dbProfile, reportAppend)
        } else {
-               elapsedTime, apicount, _ := executeAPI(apiURL, params)
+               elapsedTime, apicount, _ := executeAPI(apiURL, params, 
!isGetRequest)

Review Comment:
   ```suggestion
                elapsedTime, apicount, _ := executeAPI(apiURL, params, 
!(isGetRequest || isInGetRequestList))
   ```



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

Reply via email to