Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

CLI bug: exit on error from ReadDestination #239

Merged
merged 1 commit into from
Jun 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tools/common/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ func UpdateConsumerGroup(c *cli.Context, cClient ccli.Client, mClient mcli.Clien
respDest, err := mClient.ReadDestination(&shared.ReadDestinationRequest{
DestinationUUID: respCG.DestinationUUID,
})
ExitIfError(err)

path, name = respDest.GetPath(), respCG.GetConsumerGroupName()

Expand Down