mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
Variable renaming in LengthOfResponse()
This commit is contained in:
parent
9ef00d6204
commit
15760f7d01
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ func LengthOfResponse(router *gin.Engine, token string, url string,
|
|||
// Get an arbitrary key from tha map. The only key (entry) of
|
||||
// course is the model's name. With that trick we do not have to
|
||||
// pass the higher level key as argument.
|
||||
for arbitrary_tag := range arrayResponse {
|
||||
return len(arrayResponse[arbitrary_tag]), nil
|
||||
for arbitrary_key := range arrayResponse {
|
||||
return len(arrayResponse[arbitrary_key]), nil
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue