Merge pull request #84295 from aojea/iptableslogs

Improve iptables logging
This commit is contained in:
Kubernetes Prow Robot 2019-11-14 17:49:51 -08:00 committed by GitHub
commit e434d2dbab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
}