diff --git a/leave_command.go b/leave_command.go index 3213ba3d68..c2a4923a0a 100644 --- a/leave_command.go +++ b/leave_command.go @@ -1,7 +1,7 @@ package raft // Leave command interface -type DefaultCommand interface { +type LeaveCommand interface { CommandName() string Apply(server *Server) (interface{}, error) NodeName() string