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


##########
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)
   ```



-- 
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: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to