Skip to content

Commit 85b0bec

Browse files
Might revert
1 parent 92efb61 commit 85b0bec

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/code/ContainerRegistryServerAPICalls.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,8 @@ internal JObject GetHttpResponseJObjectUsingDefaultHeaders(string url, HttpMetho
10011001
_cmdletPassedIn);
10021002
}
10031003

1004+
_cmdletPassedIn.WriteVerbose("Exiting ContainerRegistryServerAPICalls::GetHttpResponseJObjectUsingDefaultHeaders() with NULL");
1005+
10041006
return null;
10051007
}
10061008

src/dsc/psresourceget.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ function GetPSResourceList {
315315
}
316316
}
317317

318+
## For get operation we only need the first resource that exists, which is always the latest for currentUser
318319
PopulatePSResourceListObjectByRepository -resourcesExist $resourcesExist -inputResources $inputResources -repositoryName $inputPSResourceList.RepositoryName
319320
}
320321

@@ -384,6 +385,7 @@ function TestPSResourceList {
384385
$currentState._inDesiredState = $inDesiredState
385386

386387
## TODO confirm the output format
388+
387389
if ($inDesiredState)
388390
{
389391
$outputJson = [PSCustomObject]@{

0 commit comments

Comments
 (0)