Open erikhSSI opened 9 months ago
I have limited an admin user in our cloud account to see only 2 environments in a single application.
ey-core environments should be returning
ey-core environments
xxxxx_clone xxxxx_clone2
but instead it returns a dupe!
ID | Name | Account ----------|--------------------------------------------|--------------------------------------------------- nnnn | xxxxx_clone2 | yyyy nnnn | xxxxx_clone2 | yyyy
I've have tracked it down to the API result being bad coming from:
https://api.engineyard.com/accounts/xxxxxxxxxxxx/environments
since the code in /ey-core-3.6.6/lib/ey-core/cli/environments.rb seems ok
/ey-core-3.6.6/lib/ey-core/cli/environments.rb
Maybe there is a regular expression error or ???
Actually, I take that back, I called the api URL from curl and the results look OK (returning 2 different environments), so it must be a bug in the ey-core ruby code
I have limited an admin user in our cloud account to see only 2 environments in a single application.
what i expected
ey-core environments
should be returningxxxxx_clone xxxxx_clone2
what happened
but instead it returns a dupe!
what is causing it
I've have tracked it down to the API result being bad coming from:
https://api.engineyard.com/accounts/xxxxxxxxxxxx/environments
since the code in
/ey-core-3.6.6/lib/ey-core/cli/environments.rb
seems okMaybe there is a regular expression error or ???