Skip to content

Commit

Permalink
Change message when no pods are selected
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlaverse committed Dec 19, 2017
1 parent 0b297cf commit f3ebcdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/kubernetes-deploy/kubernetes_resource/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def status
elsif selects_some_pods?
"Selects at least 1 pod"
else
"Unknown"
"Selects 0 pods"
end
end

Expand Down Expand Up @@ -48,7 +48,7 @@ def exposes_zero_replica_deployment?
end

def requires_endpoints?
# Service of type External don't have endpoints
# service of type External don't have endpoints
return false if external_name_svc?

# problem counting replicas - by default, assume endpoints are required
Expand Down

0 comments on commit f3ebcdc

Please sign in to comment.