Skip to content

Commit

Permalink
follow golang-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lupengfan1 committed Dec 3, 2024
1 parent b62189a commit caf9a15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions admin-cli/util/pegasus_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ func (n *PegasusNode) RPCAddress() *base.RPCAddress {
func (n *PegasusNode) Close() error {
if n.session != nil {
return n.session.Close()
} else {
return nil
}
return nil
}

// NewNodeFromTCPAddr creates a node from tcp address.
Expand Down

0 comments on commit caf9a15

Please sign in to comment.