mirror of https://github.com/k3s-io/k3s
Update etcd error to match correct url (#5909)
Signed-off-by: Derek Nola <derek.nola@suse.com>pull/5936/head
parent
db2ba7b61d
commit
4c0bc8c046
|
@ -224,7 +224,7 @@ func (e *ETCD) Test(ctx context.Context) error {
|
|||
memberNameUrls = append(memberNameUrls, member.Name+"="+member.PeerURLs[0])
|
||||
}
|
||||
}
|
||||
return &MembershipError{Members: memberNameUrls, Self: e.name + "=" + e.address}
|
||||
return &MembershipError{Members: memberNameUrls, Self: e.name + "=" + e.peerURL()}
|
||||
}
|
||||
|
||||
// DBDir returns the path to dataDir/db/etcd
|
||||
|
|
Loading…
Reference in New Issue