Skip to content

Commit 63ad195

Browse files
committed
Misssing ignoreCase: true
1 parent 8727d75 commit 63ad195

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SeqCli/Cli/Commands/RetentionPolicy/CreateCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected override async Task<int> Run()
122122
return 1;
123123
}
124124

125-
if (!Enum.TryParse(_dataSource, out DataSource dataSource))
125+
if (!Enum.TryParse(_dataSource, ignoreCase: true, out DataSource dataSource))
126126
{
127127
Log.Error("The `--data-source` option supports `stream` and `series`");
128128
return 1;

0 commit comments

Comments
 (0)