Re-enable V(9) transaction logging in nftables proxy

This commit is contained in:
Dan Winship 2024-04-25 21:41:52 -04:00
parent d4e6e62134
commit c4dd2c5ad7

View File

@ -1614,8 +1614,9 @@ func (proxier *Proxier) syncProxyRules() {
"numEndpoints", totalEndpoints,
)
// FIXME
// klog.V(9).InfoS("Running nftables transaction", "transaction", tx.Bytes())
if klogV9 := klog.V(9); klogV9.Enabled() {
klogV9.InfoS("Running nftables transaction", "transaction", tx.String())
}
err = proxier.nftables.Run(context.TODO(), tx)
if err != nil {