We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b0dfba commit d2b4cc2Copy full SHA for d2b4cc2
src/ResourceManager/Insights/Commands.Insights/Diagnostics/SetAzureRmDiagnosticSettingCommand.cs
@@ -82,7 +82,7 @@ protected override void ProcessRecordInternal()
82
83
ServiceDiagnosticSettings properties = getResponse.Properties;
84
85
- if (this.Enabled && string.IsNullOrWhiteSpace(properties.StorageAccountId) && string.IsNullOrWhiteSpace(properties.StorageAccountId))
+ if (this.Enabled && string.IsNullOrWhiteSpace(this.StorageAccountId))
86
{
87
throw new ArgumentException("StorageAccountId can't be null when enabling");
88
}
0 commit comments