Open dknoben opened 4 years ago
Verifying that this is not still an issue. EDIT My initial test had an extraneous ':' at the end of the the upstream id. That said this only works now with the upstream GUID and not the string name like filtering by sites or other values do.
$ terminus site:info eiq-demo
------------------ ------------------------------------------------------------
ID <<OMITTED>>
Name eiq-demo
Label EIQ Demo
Created 2017-03-15 23:35:22
Framework drupal8
Region United States
Organization ec396c33-eeb4-4797-8e41-c46532c11d7a
Plan Performance Small
Max Multidevs 15
Upstream 7f9c744c-5a4a-88b0-26dd-edc3bffdfb4d:
https://bitbucket.org/eiqpublicweb/eiq-public-websites.git
Holder Type organization
Holder ID ec396c33-eeb4-4797-8e41-c46532c11d7a
Owner
Is Frozen? false
Date Last Frozen 1970-01-01 00:00:00
------------------ ------------------------------------------------------------
$ terminus org:site:list ec396c33-eeb4-4797-8e41-c46532c11d7a --upstream=7f9c744c-5a4a-88b0-26dd-edc3bffdfb4d
------------ ------------------ ------------ ----------- ------------------ ----------- ---------- ------------
Name ID Plan Framework Owner Created Tags Is Frozen?
------------ ------------------ ------------ ----------- ------------------ ----------- ---------- ------------
...
eiq-demo <<OMITTED>> Performanc drupal8 2017-03-1 Tools,US false
Small 5 Brands
23:35:22
...
------------ ------------------ ------------ ----------- ------------------ ----------- ---------- ------------
Expected behavior
When I run the site:list command with the upstream filter set, I expect it to return a list of sites that use that upstream.
terminus site:list --upstream=e8fe8550-1ab9-4964-8838-2b9abdccf4bf
Actual behavior
When I run the command I get an empty list. When I run it with -vvv, I see an array with a list of sites, but the response I get is
[warning] You have no sites.
I can run the command using another upstream and get results, it is just with this upstream that I get an empty list
Here is the command I can run to get results
terminus site:list --upstream=9d67dffa-b864-496e-8fb4-cbb984b7e162
Steps to reproduce the behavior
Run the command and get empty results
terminus site:list --upstream=e8fe8550-1ab9-4964-8838-2b9abdccf4bf