From 6908b5d47617e7519da80af60a148da02e2d23cd Mon Sep 17 00:00:00 2001 From: Bradley Grainger Date: Mon, 18 Dec 2023 07:43:27 -0800 Subject: [PATCH] Simplify constructor. Co-authored-by: Adam Sitnik --- src/HealthChecks.MySql/MySqlHealthCheck.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HealthChecks.MySql/MySqlHealthCheck.cs b/src/HealthChecks.MySql/MySqlHealthCheck.cs index 02b7530c0f..3a1f28128a 100644 --- a/src/HealthChecks.MySql/MySqlHealthCheck.cs +++ b/src/HealthChecks.MySql/MySqlHealthCheck.cs @@ -12,7 +12,7 @@ public class MySqlHealthCheck : IHealthCheck public MySqlHealthCheck(MySqlHealthCheckOptions options) { - Guard.ThrowIfNull(options); + _options = Guard.ThrowIfNull(options); _options = options; }