Rewrote entire NFT Update Logic
- more flexibility by a struct based approch - allows for collection of all changes from a complex confi - pushes everything at once to NFT
This commit is contained in:
@ -30,7 +30,7 @@ func init() {
|
||||
log.Printf("Configuration in use: %v", viper.AllSettings())
|
||||
service.LoadConfig()
|
||||
|
||||
err := service.NFTUpdateSets(*table, *set4, *ip4, *set6, *ip6)
|
||||
err := service.NFTUpdateSetsCmd(*table, *set4, *ip4, *set6, *ip6)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not update NFT: %s", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user