Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
comment updated
  • Loading branch information
mhindery committed May 22, 2020
1 parent b79b973 commit 15c7281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubefwd/services/services.go
Expand Up @@ -377,7 +377,7 @@ func (opts *FwdServiceOpts) ForwardService(svc *v1.Service) {

listOpts := metav1.ListOptions{LabelSelector: selector}

// Only a single pod is required in this case
// Only a single pod (which will be setup for forwarding) is required in this case
if svc.Spec.ClusterIP == "None" {
listOpts.Limit = 1
}
Expand Down

0 comments on commit 15c7281

Please sign in to comment.