Skip to content

Commit

Permalink
Updated GetAzureRmAks.cs
Browse files Browse the repository at this point in the history
Removed Select Statement from WriteObject Function in order to Debug Azure#9847
  • Loading branch information
abeckDev committed Aug 20, 2019
1 parent ed28cba commit 0f26204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aks/Aks/Commands/GetAzureRmAks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public override void ExecuteCmdlet()
var kubeClusters = string.IsNullOrEmpty(ResourceGroupName)
? Client.ManagedClusters.List()
: Client.ManagedClusters.ListByResourceGroup(ResourceGroupName);
WriteObject(kubeClusters.Select(PSMapper.Instance.Map<PSKubernetesCluster>));
WriteObject(PSMapper.Instance.Map<PSKubernetesCluster>(kubeClusters));
break;
default:
throw new ArgumentException(Resources.ParameterSetError);
Expand Down

0 comments on commit 0f26204

Please sign in to comment.