Skip to content

Commit

Permalink
Simplify constructor.
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Sitnik <[email protected]>
  • Loading branch information
bgrainger and adamsitnik committed Dec 18, 2023
1 parent 87d0dbd commit ae5082f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/HealthChecks.MySql/MySqlHealthCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ public class MySqlHealthCheck : IHealthCheck

public MySqlHealthCheck(MySqlHealthCheckOptions options)
{
Guard.ThrowIfNull(options);
_options = options;
_options = Guard.ThrowIfNull(options);
}

/// <inheritdoc />
Expand Down

0 comments on commit ae5082f

Please sign in to comment.