diff --git a/internal/hetzner.go b/internal/hetzner.go index c67e5d4..4c51c04 100644 --- a/internal/hetzner.go +++ b/internal/hetzner.go @@ -84,5 +84,8 @@ func AttachFloatingIpToNode(cfg *Config, server hcloud.Server) error { "Caller": "AttachFloatingIpToNode", }).Error(fmt.Sprintf("Error response while attaching floating ip: %s", err.Error())) } + log.WithFields(log.Fields{ + "Caller": "AttachFloatingIpToNode", + }).Info(fmt.Sprintf("Attached floating ip %s to node %s", cfg.FloatingIPName, server.Name)) return err }