| commit | 3810567012959d2871400ce2ecd39f53b9072bc3 | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Thu Apr 11 01:37:29 2024 +0200 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Mon Apr 15 21:31:42 2024 +0000 |
| tree | d1821ba3db669deec3a240dceb9bbf544b68c611 | |
| parent | 2a74e58ac02d0bf6ae25ae1ec4d8f187dd7db5ba [diff] [blame] |
treewide: remove shadowing of stdlib functions Change-Id: Iaccb22769d53568f6a4004924c218b9929090d89 Reviewed-on: https://review.monogon.dev/c/monogon/+/2957 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/cloud/equinix/wrapngo/wrapn.go b/cloud/equinix/wrapngo/wrapn.go index 7bd4522..d249439 100644 --- a/cloud/equinix/wrapngo/wrapn.go +++ b/cloud/equinix/wrapngo/wrapn.go
@@ -184,10 +184,10 @@ // variable can be set prior to the below call to enable verbose packngo // debug logs. func New(opts *Opts) Client { - return new(opts) + return newClient(opts) } -func new(opts *Opts) *client { +func newClient(opts *Opts) *client { // Apply the defaults. if opts.APIRate == 0 { opts.APIRate = 2 * time.Second