Skip to content

Commit af33965

Browse files
authored
Merge pull request Azure#8902 from zwswim/network-march
[flowlog] fix bug for FormatVersion (issue 8877)
2 parents 5ce02d4 + d4e4db8 commit af33965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Network/Network/NetworkWatcher/SetAzureNetworkWatcherConfigFlowLogCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public override void Execute()
349349
parameters.RetentionPolicy.Days = this.RetentionInDays;
350350
}
351351

352-
if (!string.IsNullOrWhiteSpace(this.FormatType) || this.FormatVersion == null)
352+
if (!string.IsNullOrWhiteSpace(this.FormatType) || this.FormatVersion != null)
353353
{
354354
parameters.Format = new MNM.FlowLogFormatParameters();
355355

0 commit comments

Comments
 (0)