Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
Co-authored-by: Iryna Shustava <[email protected]>
  • Loading branch information
curtbushko and ishustava committed Aug 15, 2022
1 parent 2a4a042 commit 2a6759f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control-plane/cni/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (c *Command) cmdAdd(args *skel.CmdArgs) error {
return fmt.Errorf("error retrieving pod: %s", err)
}

// Skip traffic redirection the correct annotations are not on the pod.
// Skip traffic redirection if the correct annotations are not on the pod.
if skipTrafficRedirection(*pod) {
logger.Debug("skipping traffic redirect on un-injected pod: %s", pod.Name)
return types.PrintResult(result, cfg.CNIVersion)
Expand Down

0 comments on commit 2a6759f

Please sign in to comment.