Skip to content

Commit

Permalink
Merge pull request #815 from garden-io/call-command-no-ingress
Browse files Browse the repository at this point in the history
fix: improved error messages for call command
  • Loading branch information
thsig authored Jun 6, 2019
2 parents 6f4b667 + 2286a17 commit 1a3f594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/commands/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class CallCommand extends Command<Args> {
})
}

if (!status.ingresses) {
if (!status.ingresses || status.ingresses.length === 0) {
throw new ParameterError(`Service ${service.name} has no active ingresses`, {
serviceName: service.name,
serviceStatus: status,
Expand Down

0 comments on commit 1a3f594

Please sign in to comment.