From a1a8f36a6963cb63dcc77f6456d0418d41f9334c Mon Sep 17 00:00:00 2001 From: Weibin Lin Date: Wed, 5 Sep 2018 10:45:03 +0800 Subject: [PATCH] add a missing "%s" --- pkg/util/ipset/ipset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/ipset/ipset.go b/pkg/util/ipset/ipset.go index 4bc4a739d3..d48d2dd84d 100644 --- a/pkg/util/ipset/ipset.go +++ b/pkg/util/ipset/ipset.go @@ -485,7 +485,7 @@ func validateProtocol(protocol string) bool { if protocol == ProtocolTCP || protocol == ProtocolUDP || protocol == ProtocolSCTP { return true } - glog.Errorf("Invalid entry's protocol: %s, supported protocols are [%s, %s]", protocol, ProtocolTCP, ProtocolUDP, ProtocolSCTP) + glog.Errorf("Invalid entry's protocol: %s, supported protocols are [%s, %s, %s]", protocol, ProtocolTCP, ProtocolUDP, ProtocolSCTP) return false }