godaddy: Remove unnecessary host groupings

Each host is already updated individually so there's no point in
grouping the hosts.
This commit is contained in:
Richard Hansen 2024-07-12 18:36:20 -04:00
parent 5db77f7c31
commit e8a6d1479f

View file

@ -5703,10 +5703,7 @@ EoEXAMPLE
######################################################################
sub nic_godaddy_update {
debug("\nnic_godaddy_update --------------------");
my %groups = group_hosts_by(\@_, [qw(server login password zone wantipv4 wantipv6)]);
for my $sig (keys %groups) {
my @hosts = @{$groups{$sig}};
for my $host (@hosts) {
for my $host (@_) {
my $ipv4 = delete $config{$host}{'wantipv4'};
my $ipv6 = delete $config{$host}{'wantipv6'};
@ -5795,7 +5792,6 @@ sub nic_godaddy_update {
}
}
}
}
######################################################################
## nic_googledomains_examples