Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
jharshman committed May 17, 2023
1 parent c0e3a0c commit 2917bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func Sync() *cobra.Command {
// synchronize will use the local configuration update the desired firewall rule.
func synchronize(cfg *user.Config) error {
// CIDR notation required by GoogleAPIs.
for idx, _ := range cfg.SourceIPs {
for idx := range cfg.SourceIPs {
cfg.SourceIPs[idx] = cfg.SourceIPs[idx] + "/32"
}

Expand Down

0 comments on commit 2917bf0

Please sign in to comment.