Route fixes for Azure Resource Graph (#34410)

This commit is contained in:
Sergey Kostrukov
2021-05-19 17:33:03 +02:00
committed by GitHub
parent b9f4ec2030
commit e9e80bb4cb
3 changed files with 32 additions and 26 deletions
+2
View File
@@ -52,6 +52,8 @@ func getResourceGraphApiRoute(azureCloud string) (string, error) {
return "chinaazureresourcegraph", nil
case azureMonitorUSGovernment:
return "govazureresourcegraph", nil
case azureMonitorGermany:
return "germanyazureresourcegraph", nil
default:
err := fmt.Errorf("the cloud '%s' not supported", azureCloud)
return "", err