Normalized function naming
This commit is contained in:
1 parent
7b93ff425d
commit
5242cc98f7
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
+1
-1
@@ -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