Skip to content

Commit b7b4eb9

Browse files
committed
addressed missed feedback
1 parent 9f3c1f3 commit b7b4eb9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cns/restserver/restserver.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,9 +1583,11 @@ func (service *HTTPRestService) getNumberOfCPUCores(w http.ResponseWriter, r *ht
15831583
log.Printf("[Azure-CNS] getNumberOfCPUCores")
15841584
log.Request(service.Name, "getNumberOfCPUCores", nil)
15851585

1586-
var num int
1587-
var returnCode int
1588-
var errMsg string
1586+
var (
1587+
num int
1588+
returnCode int
1589+
errMsg string
1590+
)
15891591

15901592
switch r.Method {
15911593
case "GET":

0 commit comments

Comments
 (0)