Skip to content

Commit

Permalink
add missing err checkings
Browse files Browse the repository at this point in the history
  • Loading branch information
TibebeJS committed Oct 30, 2021
1 parent ac0254c commit 0322c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type HealthCheckStrategyChooser struct{}
func (runner *HealthCheckStrategyChooser) Parse(configuration c.TargetConfigurations) (s.Strategy, error) {

var portConfigurationsStrategyCheck portConfigurationsStrategyCheck
mapstructure.Decode(configuration, &portConfigurationsStrategyCheck)
utils.Check(mapstructure.Decode(configuration, &portConfigurationsStrategyCheck))

switch portConfigurationsStrategyCheck.Strategy {
case "ping":
Expand Down

0 comments on commit 0322c33

Please sign in to comment.