fix: typo in etcd membership error message

Found a typo while working, quick fix.
It should display "This server is not a member of the etcd cluster" instead of "this server is a not a member of the etcd cluster"
Kind regards,

Signed-off-by: DT1mote <74531281+DT1mote@users.noreply.github.com>
pull/13856/head
DT1mote 2026-03-23 14:48:54 +01:00 committed by Brad Davidson
parent f40cf096c9
commit cc1c20fdc0
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ type membershipError struct {
}
func (e *membershipError) Error() string {
return fmt.Sprintf("this server is a not a member of the etcd cluster. Found %v, expect: %s", e.members, e.self)
return fmt.Sprintf("this server is not a member of the etcd cluster. Found %v, expect: %s", e.members, e.self)
}
func (e *membershipError) Is(target error) bool {