Fix schema creation

This commit is contained in:
Mak Muftic 2021-09-24 12:58:32 +02:00
parent 94a1601ab2
commit 22bbb113e7

View File

@ -26,7 +26,7 @@ func NewElasticSearchTransport(connectionString string) (TracerTransport, error)
password, _ := conUrl.User.Password()
cfg := elasticsearch.Config{
Addresses: []string{
conUrl.Scheme + conUrl.Host,
conUrl.Scheme + "://" + conUrl.Host,
},
Username: username,
Password: password,