AutoRclone icon indicating copy to clipboard operation
AutoRclone copied to clipboard

filter active project when gen sa

Open LeeeMooo opened this issue 4 years ago • 2 comments

https://github.com/xyou365/AutoRclone/blob/f90853a989b3773b188fe7501a574800c6ef1145/gen_sa_accounts.py#L45

return [i['projectId'] for i in service.projects().list().execute()['projects'] if i['lifecycleState'] == 'ACTIVE']

LeeeMooo avatar Sep 14 '20 09:09 LeeeMooo

You should send a PR.

harryqt avatar Sep 15 '20 07:09 harryqt

PR created. #63

ChaojuWang avatar Oct 04 '20 13:10 ChaojuWang