Permalink
Browse files

devops: update requestUri for easier debugging

- Use the reformated url for the head request to get the tenant.  This doesn't fix a runtime problem (we should have the correct url already from parsing the command line), but allows easier debugging based on parameters passed in.
  • Loading branch information...
jeschu1 committed Sep 17, 2018
1 parent 2a30525 commit dd46e95ccead561973ae60e9f84b20aa00682247
Showing with 3 additions and 0 deletions.
  1. +3 −0 AzureDevOps.Authentication/Src/Authentication.cs
@@ -207,6 +207,9 @@ public override async Task<bool> DeleteCredentials(TargetUri targetUri)
return tenantId;
}
// Use the properly formatted URL
requestUri = requestUri.CreateWith(queryUrl: requestUrl);
var options = new NetworkRequestOptions(false)
{
Flags = NetworkRequestOptionFlags.UseProxy,

0 comments on commit dd46e95

Please sign in to comment.