Skip to content

[QUERY] New version of Azure.ResourceManager.DevTestLabs #57342

@zhiweiv

Description

@zhiweiv

Library name and version

Azure.ResourceManager.DevTestLabs 1.1.1

Query/Question

The current version of Azure.ResourceManager.DevTestLabs has a bug when loading virtual machine auto shutdown config. It throws exception when webhook url not set.

Problem code in 1.1.1

if (item3.Value.ValueKind != JsonValueKind.Null)
{
	webHookUri = new Uri(item3.Value.GetString());
}

Latest code

if (prop.Value.ValueKind == JsonValueKind.Null)
{
	continue;
}
webhookUri = string.IsNullOrEmpty(prop.Value.GetString()) ? null : new Uri(prop.Value.GetString(), UriKind.RelativeOrAbsolute);                    

I found this is already fixed in latest code, can you release a new version?

Environment

No response

Metadata

Metadata

Assignees

Labels

DevtestlabMgmtThis issue is related to a management package.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions