Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Iryna Shustava <[email protected]>
  • Loading branch information
lkysow and ishustava authored Mar 26, 2020
1 parent ddbdd57 commit 45af970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subcommand/service-address/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (c *Command) Run(args []string) int {
}), backoff.NewConstantBackOff(c.retryDuration))

if unretryableErr != nil {
c.UI.Error(unretryableErr.Error())
c.UI.Error(fmt.Sprintf("Unable to get service address: %s", unretryableErr.Error())
return 1
}

Expand Down Expand Up @@ -176,6 +176,6 @@ Usage: consul-k8s service-address [options]
The address written depends on service type:
ClusterIP - Cluster IP
NodePort - Not supported
LoadBalancer - External ingress IP or hostname
LoadBalancer - Load balancer's IP or hostname
ExternalName - Not Supported
`

0 comments on commit 45af970

Please sign in to comment.