Skip to content

Commit

Permalink
Avoid converting int to string.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Dec 29, 2024
1 parent df4fa51 commit ffd04e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovh/table_ovh_log_self.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func getLogInfo(ctx context.Context, d *plugin.QueryData, h *plugin.HydrateData)
return nil, err
}

err = client.Get(fmt.Sprintf("/me/api/logs/self/%s", strconv.Itoa(log.ID)), &log)
err = client.Get(fmt.Sprintf("/me/api/logs/self/%d", log.ID), &log)

if err != nil {
plugin.Logger(ctx).Error("ovh_logs_self.getLogInfo", err)
Expand Down

0 comments on commit ffd04e7

Please sign in to comment.