aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_mq_topic_list.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2024-02-05 17:30:14 -0800
committerChris Lu <chris.lu@gmail.com>2024-02-05 17:30:14 -0800
commitfa72761bb8d77f20b177e0307ecc645c27aef991 (patch)
tree1c7594fd43525486a07868e934447612a6ce4b20 /weed/shell/command_mq_topic_list.go
parentc471265837a9ad33edfa0cdd9fa43900c602b7c1 (diff)
downloadseaweedfs-fa72761bb8d77f20b177e0307ecc645c27aef991.tar.xz
seaweedfs-fa72761bb8d77f20b177e0307ecc645c27aef991.zip
fix on finding lock owner
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