Browse Source

阿里云RDS只采集mysql

pull/122/head
StarsL.cn 1 year ago committed by GitHub
parent
commit
764a35a2b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      flask-consul/units/cloud/alicloud.py

2
flask-consul/units/cloud/alicloud.py

@ -264,11 +264,13 @@ def rds(account,region):
if next_token == '0':
describe_dbinstances_request = rds_20140815_models.DescribeDBInstancesRequest(
max_results=100,
engine='MySQL',
region_id=region
)
else:
describe_dbinstances_request = rds_20140815_models.DescribeDBInstancesRequest(
max_results=100,
engine='MySQL',
region_id=region,
next_token=next_token
)

Loading…
Cancel
Save