mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Improve iptables logging
This commit is contained in:
parent
c08161a781
commit
1268d1a8ff
@ -397,7 +397,7 @@ func (runner *runner) runContext(ctx context.Context, op operation, args []strin
|
||||
iptablesCmd := iptablesCommand(runner.protocol)
|
||||
fullArgs := append(runner.waitFlag, string(op))
|
||||
fullArgs = append(fullArgs, args...)
|
||||
klog.V(5).Infof("running iptables %s %v", string(op), args)
|
||||
klog.V(5).Infof("running iptables: %s %v", iptablesCmd, fullArgs)
|
||||
if ctx == nil {
|
||||
return runner.exec.Command(iptablesCmd, fullArgs...).CombinedOutput()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user