Skip to content

Commit

Permalink
chore: Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
qasimwarraich committed Apr 28, 2023
1 parent 5ac873f commit 7bd1035
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/livelint/check_can_access_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ func (n *Livelint) canPortForward(pod apiv1.Pod, port int32, checkFunc func(uint
}()

// wait for port forwarding to be ready
for range readyChan {
}
// for range readyChan {
// }

n.ui.StartSpinner()

Expand Down
4 changes: 2 additions & 2 deletions internal/livelint/get_services.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ func (n *Livelint) getServicesForSelector(namespace string, matchLabels map[stri
}
exactlyMatchingServices := []apiv1.Service{}
supersetMatchingServices := []apiv1.Service{}
serviceLabelsSubsetDeploymentLabels := false
deploymentLabelsSubsetServiceLabels := false
var serviceLabelsSubsetDeploymentLabels bool
var deploymentLabelsSubsetServiceLabels bool
for _, service := range allServices.Items {
serviceMatchLabels := service.Spec.Selector
deploymentLabelsSubsetServiceLabels = isSubmap(matchLabels, serviceMatchLabels)
Expand Down

0 comments on commit 7bd1035

Please # to comment.