Skip to content

Commit

Permalink
RefreshTimeOnSeconds -> RefreshTimeInSeconds
Browse files Browse the repository at this point in the history
  • Loading branch information
sungam3r committed Jul 30, 2023
1 parent 9ed4092 commit 892d29e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private async Task StartK8sServiceAsync(CancellationToken cancellationToken)
_logger.LogError(ex, "An error occurred on kubernetes service discovery");
}

await Task.Delay(_discoveryOptions.RefreshTimeOnSeconds * 1000);
await Task.Delay(_discoveryOptions.RefreshTimeInSeconds * 1000);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal class KubernetesDiscoverySettings

public string? Token { get; set; }

public int RefreshTimeOnSeconds { get; set; } = 300;
public int RefreshTimeInSeconds { get; set; } = 300;

public List<string> Namespaces { get; set; } = new List<string>();
}
Expand Down

0 comments on commit 892d29e

Please sign in to comment.