Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/SeqCli/Cli/Commands/Dashboard/RenderCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public RenderCommand()
_range = Enable<DateRangeFeature>();
_signal = Enable<SignalExpressionFeature>();
_timeout = Enable<TimeoutFeature>();
_output = Enable<OutputFormatFeature>();
_output = Enable(new OutputFormatFeature(supportNative: true));
_storagePath = Enable<StoragePathFeature>();
_connection = Enable<ConnectionFeature>();
}
Expand Down Expand Up @@ -191,7 +191,7 @@ static string BuildSqlQuery(ChartQueryPart query, DateTime rangeStart, DateTime

static SignalExpressionPart? Intersect(params SignalExpressionPart?[] expressions)
{
var result = (SignalExpressionPart?) null;
SignalExpressionPart? result = null;

foreach (var s in expressions)
{
Expand Down
1 change: 0 additions & 1 deletion src/SeqCli/Output/NativeFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ public static void WriteQueryResult(TextWriter output, QueryResultPart result)
output.Write(' ');
output.Write(heading);
}
output.WriteLine();
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion test/SeqCli.EndToEnd/Dashboard/RenderTestCase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public Task ExecuteAsync(
var exit = runner.Exec("dashboard list");
Assert.Equal(0, exit);

var id = runner.LastRunProcess.Output.Split(' ')[0];
var id = runner.LastRunProcess!.Output.Split(' ')[0];

exit = runner.Exec("dashboard render", $"-i {id} -c \"All Events\" --last 1d --by 1h --no-color");
Assert.Equal(0, exit);
Expand Down
Loading