Normalized function naming
This commit is contained in:
@@ -29,7 +29,7 @@ func init() {
|
||||
log.Printf("Configuration in use: %v", viper.AllSettings())
|
||||
service.LoadConfig()
|
||||
|
||||
err := service.UpdateDNSEntry(*domain, *name, *ip4, *ip6)
|
||||
err := service.DNSUpdateEntry(*domain, *name, *ip4, *ip6)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not update DNS: %s", err)
|
||||
}
|
||||
|
@@ -30,7 +30,7 @@ func init() {
|
||||
log.Printf("Configuration in use: %v", viper.AllSettings())
|
||||
service.LoadConfig()
|
||||
|
||||
err := service.UpdateNFTSets(*table, *set4, *ip4, *set6, *ip6)
|
||||
err := service.NFTUpdateSets(*table, *set4, *ip4, *set6, *ip6)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not update NFT: %s", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user