alexvasseur / cf_get_events

Cloud Foundry CLI plugin to report on APP, App Instance, Memory, Velocity, Service instance and Members per Org/Space & totals.
14 stars 2 forks source link

bug - more than 100 service instance #6

Closed alexvasseur closed 6 years ago

alexvasseur commented 6 years ago

user reports that service instance details does not reports correctly above 100 service instance.

alexvasseur commented 6 years ago

bug confirmed: created 100 si

 cf services | grep rab- | wc -l
     110

and then

cf bcr --si

+-------------------------+-------------------------+-----+---------------+------------------+---------------+----------------------------------------------------------------------+
|           ORG           |          SPACE          | SI  | PIVOTAL MYSQL | PIVOTAL RABBITMQ | PIVOTAL REDIS |                            OTHER SERVICES                            |
+-------------------------+-------------------------+-----+---------------+------------------+---------------+----------------------------------------------------------------------+
| Alex                    | test-si                 |  92 |               |               92 |               |                                                                      |
... (few more org, total 100 si below no matter what)
+-------------------------+-------------------------+-----+---------------+------------------+---------------+----------------------------------------------------------------------+
|            -            |            -            | 100 |       2       |        95        |       0       |                           3 (PIVOTAL: 97)                            |
+-------------------------+-------------------------+-----+---------------+------------------+---------------+----------------------------------------------------------------------+
alexvasseur commented 6 years ago

fix - nested loop was using incorrect url