Skip to content

Commit

Permalink
support old clients
Browse files Browse the repository at this point in the history
  • Loading branch information
csquared committed Dec 22, 2015
1 parent ea42e0d commit 242c94d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cmd/convox/services.go
Expand Up @@ -160,10 +160,13 @@ func cmdServiceInfo(c *cli.Context) {

if len(service.Exports) > 0 {
fmt.Printf("Exports\n")
}

for key, value := range service.Exports {
fmt.Printf(" %s: %s\n", key, value)
for key, value := range service.Exports {
fmt.Printf(" %s: %s\n", key, value)
}
} else if service.URL != "" {
// NOTE: this branch is deprecated
fmt.Printf("URL %s\n", service.URL)
}
}

Expand Down

0 comments on commit 242c94d

Please sign in to comment.