Merge pull request #14982 from Huawei-PaaS/fixed_typos_for_proxy

Fixed some typos for pkg/proxy
This commit is contained in:
Alex Robinson
2015-10-05 11:40:03 -07:00
5 changed files with 10 additions and 10 deletions

View File

@@ -106,7 +106,7 @@ type RestoreCountersFlag bool
const RestoreCounters RestoreCountersFlag = true
const NoRestoreCounters RestoreCountersFlag = false
// Option flag for Restore
// Option flag for Flush
type FlushFlag bool
const FlushTables FlushFlag = true
@@ -226,7 +226,7 @@ func (runner *runner) DeleteChain(table Table, chain Chain) error {
runner.mu.Lock()
defer runner.mu.Unlock()
// TODO: we could call iptable -S first, ignore the output and check for non-zero return (more like DeleteRule)
// TODO: we could call iptables -S first, ignore the output and check for non-zero return (more like DeleteRule)
out, err := runner.run(opDeleteChain, fullArgs)
if err != nil {
return fmt.Errorf("error deleting chain %q: %v: %s", chain, err, out)