add '--endpoint' to 'repro_cmd' for integrations (#113)

This commit is contained in:
bmc-msft
2020-10-07 12:11:34 -04:00
committed by GitHub
parent 9df3b5d49a
commit 46325ea490
6 changed files with 16 additions and 11 deletions

View File

@ -96,6 +96,11 @@ def get_instance_name() -> str:
return os.environ["ONEFUZZ_INSTANCE_NAME"]
@cached
def get_instance_url() -> str:
return "https://%s.azurewebsites.net" % get_instance_name()
@cached(ttl=60)
def get_regions() -> List[str]:
client = mgmt_client_factory(SubscriptionClient)