Skip to content

Commit

Permalink
added github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dabump committed Nov 15, 2024
1 parent cb6bbbd commit 2fa3494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ping/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func NewClient() (*client, error) {
func (c *client) Ping() error {
pingClient, err := probing.NewPinger(*c.Target)
if err != nil {
return fmt.Errorf("error during initialise: %v", err)
return fmt.Errorf("error during initialise: %w", err)
}

pingClient.Interval = time.Second * time.Duration(pingIntervalInSeconds)
Expand Down

0 comments on commit 2fa3494

Please sign in to comment.