aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_mq_topic_list.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_mq_topic_list.go')
-rw-r--r--weed/shell/command_mq_topic_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_mq_topic_list.go b/weed/shell/command_mq_topic_list.go
index cf6b97e96..0a193cb4e 100644
--- a/weed/shell/command_mq_topic_list.go
+++ b/weed/shell/command_mq_topic_list.go
@@ -55,7 +55,7 @@ func findBrokerBalancer(commandEnv *CommandEnv) (brokerBalancer string, err erro
Name: pub_balancer.LockBrokerBalancer,
})
if err != nil {
- return err
+ return fmt.Errorf("FindLockOwner: %v", err)
}
brokerBalancer = resp.Owner
return nil