Skip to content

Commit d2e58a4

Browse files
authored
fix: designe HealthAsync() as obsolete in interface (#360)
1 parent 2428adc commit d2e58a4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
### Bug Fixes
77
1. [#353](https://github.com/influxdata/influxdb-client-csharp/pull/353): Support for `double` types in LINQ expression [LINQ]
8+
2. [#360](https://github.com/influxdata/influxdb-client-csharp/pull/360): Designated `HealthAsync` as obsolete in `IInfluxDBClient`
89

910
### Dependencies
1011
Update dependencies:

Diff for: Client/InfluxDBClient.cs

+1
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public interface IInfluxDBClient : IDisposable
181181
/// Get the health of an instance.
182182
/// </summary>
183183
/// <returns>health of an instance</returns>
184+
[Obsolete("This method is obsolete. Call 'PingAsync()' instead.", false)]
184185
Task<HealthCheck> HealthAsync();
185186

186187
/// <summary>

0 commit comments

Comments
 (0)