Browse Source

Update etcd error to match correct url (#5909)

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/5936/head
Derek Nola 2 years ago committed by GitHub
parent
commit
4c0bc8c046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/etcd/etcd.go

2
pkg/etcd/etcd.go

@ -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…
Cancel
Save