Skip to content

Commit

Permalink
Default previous flag to null
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsseisums authored Sep 17, 2021
1 parent 0db6a1e commit c7102f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KubeClient/ResourceClients/PodClientV1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public IObservable<IResourceEventV1<PodV1>> WatchAll(string labelSelector = null
/// <returns>
/// A string containing the logs.
/// </returns>
public async Task<string> Logs(string name, string containerName = null, string kubeNamespace = null, int? limitBytes = null, int? tailLines = null, bool? previous = false, CancellationToken cancellationToken = default)
public async Task<string> Logs(string name, string containerName = null, string kubeNamespace = null, int? limitBytes = null, int? tailLines = null, bool? previous = null, CancellationToken cancellationToken = default)
{
if (String.IsNullOrWhiteSpace(name))
throw new ArgumentException("Argument cannot be null, empty, or entirely composed of whitespace: 'name'.", nameof(name));
Expand Down

0 comments on commit c7102f6

Please sign in to comment.