You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
====================================================================================================
append to slice `mzn` with non-zero initialized length at https://github.com/StackExchange/dnscontrol/blob/main/providers/gcloud/gcloudProvider.go#L482:10
====================================================================================================
the mzn := make([]*gdns.ManagedZonePrivateVisibilityConfigNetwork, len(g.Networks)) should be mzn := make([]*gdns.ManagedZonePrivateVisibilityConfigNetwork, 0, len(g.Networks))
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
DNS Provider
FILL IN
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
NOTE: Have a general question? You'll get a better response on the dnscontrol-discuss email list!
Describe the bug
I was running github actions to run linter makezero for top github golang repos.
see issues alingse/go-linter-runner#1
and the github actions output https://github.com/alingse/go-linter-runner/actions/runs/9242994368/job/25426542378
the
mzn := make([]*gdns.ManagedZonePrivateVisibilityConfigNetwork, len(g.Networks))
should bemzn := make([]*gdns.ManagedZonePrivateVisibilityConfigNetwork, 0, len(g.Networks))
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
DNS Provider
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: