-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
DevtestlabMgmtThis issue is related to a management package.This issue is related to a management package.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DevtestlabMgmtThis issue is related to a management package.This issue is related to a management package.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that