Skip to content

Commit

Permalink
all warnings?
Browse files Browse the repository at this point in the history
  • Loading branch information
shacharPash committed Sep 11, 2023
1 parent af1b585 commit 9c56265
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .config/dotnet-tools.json

This file was deleted.

1 change: 1 addition & 0 deletions src/NRedisStack/Graph/GraphCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

namespace NRedisStack
{
[Obsolete]
public class GraphCommands : GraphCommandsAsync, IGraphCommands
{
readonly IDatabase _db;
Expand Down
4 changes: 2 additions & 2 deletions src/NRedisStack/TimeSeries/TimeSeriesCommandsBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public static class TimeSeriesCommandsBuilder
{
#region Create

public static SerializedCommand Create(string key, long? retentionTime = null, IReadOnlyCollection<TimeSeriesLabel> labels = null, bool? uncompressed = null, long? chunkSizeBytes = null, TsDuplicatePolicy? duplicatePolicy = null)
public static SerializedCommand Create(string key, long? retentionTime = null, IReadOnlyCollection<TimeSeriesLabel>? labels = null, bool? uncompressed = null, long? chunkSizeBytes = null, TsDuplicatePolicy? duplicatePolicy = null)
{
var args = TimeSeriesAux.BuildTsCreateArgs(key, retentionTime, labels, uncompressed, chunkSizeBytes, duplicatePolicy);
return new SerializedCommand(TS.CREATE, args);
Expand All @@ -26,7 +26,7 @@ public static SerializedCommand Alter(string key, long? retentionTime = null, lo
}

public static SerializedCommand Add(string key, TimeStamp timestamp, double value, long? retentionTime = null,
IReadOnlyCollection<TimeSeriesLabel> labels = null, bool? uncompressed = null,
IReadOnlyCollection<TimeSeriesLabel>? labels = null, bool? uncompressed = null,
long? chunkSizeBytes = null, TsDuplicatePolicy? duplicatePolicy = null)
{
var args = TimeSeriesAux.BuildTsAddArgs(key, timestamp, value, retentionTime, labels, uncompressed, chunkSizeBytes, duplicatePolicy);
Expand Down

0 comments on commit 9c56265

Please sign in to comment.