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

Commit

Permalink
exit on error from ReadDestination (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiran RG committed Jun 29, 2017
1 parent ab5f959 commit 4c0010d
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit 4c0010d

Please sign in to comment.